Docker/Removing Images: Difference between revisions
From charlesreid1
Bleep bloop (talk | contribs) m (Bot: Orphan page, add template) |
No edit summary |
||
| Line 1: | Line 1: | ||
if you have an image that you downloaded from Dockerhub and you decide you don't want it anymore, you first have to shut down and then delete any Docker containers that used that Docker image. | if you have an image that you downloaded from Dockerhub and you decide you don't want it anymore, you first have to shut down and then delete any Docker containers that used that Docker image. | ||
| Line 15: | Line 14: | ||
{{DockerFlag}} | |||
Revision as of 11:25, 17 April 2017
if you have an image that you downloaded from Dockerhub and you decide you don't want it anymore, you first have to shut down and then delete any Docker containers that used that Docker image.
To remove all your old containers that are not running, run:
$ docker rm $(docker ps -aq)
Now, old containers that were not running have been removed, and you're ready to delete the image. Suppose the image is from user stinky and its called nogood:
$ docker rmi stinky/nogood
| docker notes on the virtual microservice container platform
Installing the docker platform: Docker/Installing Docker Hello World: Docker/Hello World
Creating Docker Containers: Getting docker containers from docker hub: Docker/Dockerhub Creating docker containers with dockerfiles: Docker/Dockerfiles Managing Dockerfiles using git: Docker/Dockerfiles/Git Setting up Python virtualenv in container: Docker/Virtualenv
Running docker containers: Docker/Basics Dealing with volumes in Docker images: Docker/Volumes Removing Docker images: Docker/Removing Images Rsync Docker Container: Docker/Rsync
Networking with Docker Containers:
|
| docker pods pods are groups of docker containers that travel together
Docker pods are collections of Docker containers that are intended to run in concert for various applications.
Wireless Sensor Data Acquisition Pod The wireless sensor data acquisition pod deploys containers This pod uses the following technologies: Stunnel · Rsync · Apache · MongoDB · Python · Jupyter (numerical Python stack)
Deep Learning Pod This pod utilizes the following technologies: Python · Sklearn · Jupyter (numerical Python stack) · Keras · TensorFlow
|