Giter VIP home page Giter VIP logo

Comments (3)

axltxl avatar axltxl commented on July 17, 2024

Hi @hasancansaral !

No need to be sorry 😄 , I perfectly understand the complications and concerns around the dockerception phenomenon 😊

Long story short, docker is no longer a monolithic binary so to say, it now has several dependencies and these are changing in every release and they vary depending on the platform is running on. In previous releases of this image, you could easily bind your docker executable inside the container since docker was a purely monolithic binary back in the day, hence the sudo workaround which made possible to execute docker inside the container without any hassle. This docker image is based on the article you have just referred to, which was written back in the time you could easily do the aforementioned, but this is unfortunately no longer the case, so for later versions of docker, in order to guarantee a consistent set-up inside the container is simply to install it, making it agnostic to whatever is outside and only requiring a mapped unix socket to get it working out-of-the-box.

Though now this image is acquiring a built-in docker installation, it is still conceptually still considered a dood implementation, since mapping the socket onto the container makes the docker client communicate with an external docker daemon though it is not really aware of it, you can think of this container as one with a built-in docker client whose only need is to get the host's unix socket mapped onto it.

I hope this helps!.
Cheers 🍷

from docker-jenkins-dood.

hasancansaral avatar hasancansaral commented on July 17, 2024

A-ha yes,docker and docker-cli! Cheers!

from docker-jenkins-dood.

hasancansaral avatar hasancansaral commented on July 17, 2024

@axltxl Quick and a very unrelated question, and I would appreciate a lot if you could help me. I am newly experimenting with some features of Jenkins, and SSH is one of them.

1- In Manage Jenkins section, it asks for a port for sshd, then should I EXPOSE 22 for SSH? Or should I EXPOSE some other port and map it to same port on host?
2- I am guessing that this would be necessary for Publish over SSH, but which one.

Thanks in advance 😋

from docker-jenkins-dood.

Related Issues (3)

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.