...
To inspect the concerns image, for example, run the following on the dev server;
|
To inspect the build version of a container is a bit eaiser;
|
It is a useful sanity check to make sure that the latest tag on dev is the version you expect.
Once you have established the versions of the images, they can be added to the stage/platform.yml or prod/platform.yml if they are ready to release.
Cleaning up Docker Hosts
There are two steps required to clean up a host;
Stop all running containers;
Code Block $ docker stop $(docker ps -q)
Remove all docker-compose files for the existing stacks;
Code Block $ sudo rm -rf /data/docker/stacks