Useful Docker Commands

Photo by Ian Taylor on Unsplash
docker run -d -p 9411:9411 openzipkin/zipkin
Docker Docs — Restart Policies
docker container run -p 5000:5000 -d --restart=always -m 512m --cpu-quota 5000
docker container ls
docker container pause 88787
docker docker unpause 88787
docker container stop 88787
docker container kill 88787
docker images | grep nilseri
docker tag nilseri/score-segment:latest nilseri/score-segment:latestdocker tag nilseri/score-segment:latest nilseri/score-segment:0.0.1-SNAPSHOT
docker search logstash
docker image history 3568
docker image inspect 65f8
docker container ls -a
docker container prune
docker image rm nilseri/naming-server:0.0.1-SNAPSHOT
docker images --filter "dangling=true"
docker rmi $(docker images -f "dangling=true" -q)

Docker System Commands

Docker Engine Events

docker events
docker stats
docker system df
docker top cn

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nil Seri

Nil Seri

I would love to change the world, but they won’t give me the source code | coding 👩🏼‍💻 | coffee ☕️ | jazz 🎷 | anime 🐲 | books 📚 | drawing 🎨