GithubHelp home page GithubHelp logo

Docker from within docker about girder_worker HOT 4 CLOSED

girder avatar girder commented on June 19, 2024
Docker from within docker

from girder_worker.

Comments (4)

jeffbaumes avatar jeffbaumes commented on June 19, 2024

I agree that any magic should be made part of girder_worker, so relying on dind does not seem like a good solution. Requiring paths to be the same on the host and in the container does not seem ideal, but running docker from within docker seems to be a not ideal situation regardless. Would @manthey's proposed change make anything more difficult or not backwards compatible for the normal (non-docker-in-docker) use case? If not we should probably go for it to be able to support girder_worker in docker.

from girder_worker.

manthey avatar manthey commented on June 19, 2024

See the comments on girder/slicer_cli_web#28. Getting rid of the entrypoint.sh script would also allow not mounting a script directory, and then Approach 1 above will work with the appropriate mount of tmp_root.

from girder_worker.

zachmullen avatar zachmullen commented on June 19, 2024

#93 addresses removal of the entrypoint script.

from girder_worker.

manthey avatar manthey commented on June 19, 2024

Resolved by PR #93. If you use mount the girder_worker tmp_root as a volume on the host with the same name as the girder_worker docker, docker jobs are run properly. I'll note that jobs that append custom docker run parameters might have issues, but I have no samples of those.

Thanks @zachmullen.

from girder_worker.

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.