Container Management
Introduction
This section will outline the steps necessary to patch and maintain the CMS software delivered as containers.
Patch Docker Host
Purpose
Deploy the latest updated to the Docker host itself.
Permission Level
Docker Host Administrator
Notes
- You will likely need to enable the firewall ruleset that allows SSH access into the Docker host.
- If necessary, execute docker logs [container name].
Steps
- Connect via SSH to the host.
- Execute sudo apt update
- Execute apt list --upgradable
- Execute sudo apt upgrade -y
- Execute cd /mnt/cms
- Execute docker ps -a
Update Containers
Purpose
Update all containers in the CMS service to the latest version.
Permission Level
Docker Host Administrator
Notes
- You will likely need to enable the firewall ruleset that allows SSH access into the Docker host.
Steps
- Connect via SSH to the host.
- Execute cd /mnt/cms
- Execute docker compose down
- Execute docker compose pull
- Execute docker compose up -d
- Execute docker ps -a
- Execute docker system prune -a