Giter Club home page Giter Club logo

Comments (5)

ndeloof avatar ndeloof commented on July 20, 2024

I don't get your question. I deployed this image many times on GCE, just run with a fresh new volume for workspace, then configure jenkins from UI.

from docker.

robwithhair avatar robwithhair commented on July 20, 2024

@ndeloof, is this the official jenkins docker repo found at https://registry.hub.docker.com/_/jenkins/ ? I am experimenting with using this on Kubernetes on Google Container Engine. When I start it on Container Engine it doesn't start when mounted with a volume either from the local machine or an external disk as the jenkins home without first chmod -R 1000 jenkins_home/ the folder.

from docker.

ndeloof avatar ndeloof commented on July 20, 2024

yes it is.
You indeed need to have the host user owning the volume to match the container userID. This is a docker restriction, nothing we can do here. Read more on https://groups.google.com/forum/#!msg/docker-user/cVov44ZFg_c/DGqHU4TL8RkJ

from docker.

robwithhair avatar robwithhair commented on July 20, 2024

Does jenkins have to be run under the jenkins user? Would running it under root user solve this issue? I don't know enough about jenkins to know if that would be safe though, I doubt it.

from docker.

ndeloof avatar ndeloof commented on July 20, 2024

Running as root is a bad practice, this introduces huge security risks for the host running docker container. I don't think this would be validated by docker team so this commit would be rejected for official docker image.

from docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.