Home > other >  Just contact docker, would like to ask is it possible to start in a docker another docker
Just contact docker, would like to ask is it possible to start in a docker another docker

Time:10-21

Just use the docker, now need to start in a docker another docker, not to say to the docker containers for hosting environment to start the docker, but under the host environment of the docker container to start another docker container, think this is possible?

Thank you very much

CodePudding user response:

http://www.xttblog.com/? P=551
Many search search, this is not my field!

CodePudding user response:

I also just contact, but can't feel. People think understand the difference between the docker and virtual machine should be able to answer the question.

CodePudding user response:

Are you talking about swarm?

CodePudding user response:

This is not possible!

CodePudding user response:

To express the meaning of the building Lord, is this two docker vessel???????

CodePudding user response:

Can't, docker to share resources, can not do this nested

CodePudding user response:


Start in the docker docker no problem, as if in unshare in unshare,

CodePudding user response:

You should said the plan is not workable, low d object access to high dimension? I plan, after the start of the docker can sleep in the startup time,

CodePudding user response:

reference 1st floor spare grass response:
http://www.xttblog.com/? P=551
Many search search, this is not my field!

Search more,,,,,,,,,,,,,,,,

CodePudding user response:

Not a compromise with it or via the web or mount a local file and then let the host machine inspection notice to start again?

CodePudding user response:

Docker in docker ` ` ` sure can

CodePudding user response:

Probably not, still need to study.

CodePudding user response:

11 references cqyy725 response:
docker in docker ` ` ` affirmation can


That can't be CI haven't worked on?

CodePudding user response:

Just right, yesterday made a and you should be very similar function, my host machine machine start mysql container, nginx container, fastdfs containers and my service, and then I want to in my service is executed in the container to restart mysql or nginx and git pull, git pull well do, is to create your own image download git, create a container when the git directory mount, if you want to restart the mysql will use SSH connection, execute the script,

CodePudding user response:


Write a shell script applications run in a remote and build to the docker line
Program automatic login host machine terminal, and run to start the another docker command
Then after setting the startup docker automatically run the program

CodePudding user response:

Yes, docker in docker
  • Related