-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
non-root docker-container failed to start .e.g Jenkins #339
Comments
I am experiencing the same issue. I see the dockerfile portion of the linux.rb requires sudo privileges. kitchen-docker/lib/kitchen/docker/container/linux.rb Lines 106 to 192 in c43a4af
We are planning on running containers without a root user... Are there any plans to support running kitchen-docker without root/sudo privileges? Thanks |
Any news about this issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unsuccessfully try to use official Jenkins container for kitchen-test.
Digged a bit more and discovered that user is set to a non root 'jenkins'
https://github.com/jenkinsci/docker/blob/587b2856cd225bb152c4abeeaaa24934c75aa460/Dockerfile#L66
https://github.com/jenkinsci/docker/blob/587b2856cd225bb152c4abeeaaa24934c75aa460/Dockerfile#L5
The error is:
Tried adding in
.kitchen.yml
:Without any luck.
Any help would be appreciated.
-ChrisL
BTW, this is not a Jenkins specific issue but for any container run not as root. Kitchen-Docker seems to have no way around this
The text was updated successfully, but these errors were encountered: