- docker image build -t stevebate/devrepo:tc-v1 .
- docker images
- docker ps
- docker container ls -a (-a flag to see exited containers)
- docker run -d -p 81:5000 --name tcal stevebate/devrepo:tc-v1
- docker stop tcal (or image id)
- docker start tcal (or image id)
- docker rm image id)
- docker rmi image id
- docker stop $(docker container list -qa)
- docker ps -a -q -f status=exited|xargs docker rm
- docker system prune
- docker-compose --build up
- docker-compose down