Open main menu

Changes

833 bytes added ,  19:48, 4 November 2023
Add info about Docker in Docker; Docker on Docker; and Nestybox alternate runc
*https://docs.docker.com/develop/
*https://docs.docker.com/engine/
*https://docs.docker.com/engine/install/
Inspect your running container based on it's container name: docker inspect $(docker container ls | awk '/app2/ {print $1}')
== Docker in Docker ==https://devopscube.com/run-docker-in-docker/ presents several use cases and techniques. === '''Docker over Docker''' ===The DooD method, '''Docker over Docker,''' uses the docker socket from inside containers by mounting the host socket into the filesystem of the container. Try curl to see how different processes can communicate through a socket on the same host: <syntaxhighlight lang="bash">curl --unix-socket /var/run/docker.sock http://localhost/version</syntaxhighlight> === Docker In Docker ===The DinD method is '''Docker in Docker'''. Docker provides a special Docker container with the dind tag which is pre-configured to run Docker inside the container image. === For security, use Nestybox Sysbox runtime ===See https://github.com/nestybox/sysbox<nowiki/>{{References}}
[[Category:Virtualization]]
[[Category:DevOps]]