DevOps notes
Random devops notes.
Docker
- To run docker inside docker (aware of related security issues) it’s necessary to use
-v /var/run/docker.sock:/var/run/docker.sockand maybesudo chmod +666 /var/run/docker. Also, the user inside the container must also belong to thedockeruser group (usermod -aG docker USER). This will be useful in dockerized environments used in CI/CD pipelines that deploy another dockerized application.