Comments (2)
My assumption is that the apacheds start script in opt/apache-ver/bin directory does su which is not allowed by openshift.
I have done a few tries in modifying the apacheds script but I broke more things than I solve, especially the rights management of the instances file are not managed correctly.
I have included in the feature/kub
branch of this repo the non modified version of the script as apacheds-standard
and a modified version of the script as apacheds-script
which is the one currently used in the yvnicolas/docker-apacheds:M23-kub
docker hub image.
This is probably happening inside the checkuser()
function of the apacheds script where the
if [ "`$IDEXE -u -n`" = "$RUN_AS_USER" ]
gets into an error which prints the
/usr/bin/id: cannot find name for user ID 1000130000
and is not really caught in the script and generates the crash
from docker-apacheds.
Hi, I am a bit late for the party, but I encountered the same error with a completely different image today and found this issue when looking for the solution how to fix it.
The cause is that pod spawns a container with restricted Security Context Constraints, which picks a user id from a range. The solution for me was to create a new Service Account, add anyuid scc to that account and then use the account for my deployment.
SCCs in detail: https://www.openshift.com/blog/managing-sccs-in-openshift
from docker-apacheds.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-apacheds.