July 2018
Intermediate to advanced
420 pages
8h 46m
English
Now it is time to check the Docker containers and images.
Attention, the next command, will erase all the Docker images and containers that you have in your machine. If you used Docker for other projects besides the book examples, we recommend that you only delete images and containers related to our example application.
The following command erases all images and containers in your machine:
docker system prune -a
Let's check the containers, as follows:
docker ps -a
The output returned will be an empty table.
docker images -a
At the end, you will again see an empty table.
Read now
Unlock full access