Is it possible to start multiple docker daemons on the same machine

后端 未结 3 2021
走了就别回头了
走了就别回头了 2020-12-23 11:56

And if it is possible, how would you configure each daemon - graph location, images location, etc?

3条回答
  •  醉酒成梦
    2020-12-23 12:36

    Great question! It is possible to start a Docker daemon inside a container. In that container you would be able to start more containers. This way you can run docker daemons with different settings on the same host machine.

    Checkout this project: https://github.com/jpetazzo/dind. It provides a Docker image that contains Docker itself, just as you require.

提交回复
热议问题