Common issues and solutions
What are some common issues that others have run into putting their environments into production while using various Docker products? What are the solutions to those common issues? How can we mitigate against these issues so that no further instances occur? Let's take a look at what we can do!
Docker images
When you are using images, remember two things:
Each image you pull takes up space
Each time you run an image, that particular run is stored using disk space
If you are running low on space, this might be something to keep an eye on before it becomes a problem. If the space fills up, the containers might stop working, and this might lead to loss of data. Now you can view the images that you currently have by running a simple command:
$ docker images
To remove a particular image, we can run another command:
$ docker rmi <image_name>
But what about those images whose run is stored using disk space? How do we view them? There is a switch that can be added onto...