Upgrading a Docker Container
The standard way to upgrade a Docker container is to replace the old container with an updated one. Therefore, the data should be kept on a Docker volume, and not inside the container.
To upgrade a Docker container:
1. | Stop the container by running the command: |
sudo docker stop zerto_jenkins
2. | Remove the container by running the command: |
sudo docker rm zerto_jenkins
3. | Pull from Docker Hub: |
sudo docker pull zerto/zorchestrator
4. | Run the new Docker container. |