Articles
- Fantastic article about Docker VS Kubernets!Docker useful commands
To build a image based on a specific docker file
docker build -t bubu -f SBDockerfile .
To run the created image:
docker run -it bubu bash
Stop all containers:
docker kill $(docker ps -q)
Remove all containers
docker rm $(docker ps -a -q)
Remove all docker images
docker rmi $(docker images -q)
Remove all docker volumes
docker volume ls -qf dangling=true | xargs -r docker volume rm
Sem comentários:
Enviar um comentário