This is pretty straight forward, but I figured I’d post this here with my docker setup guide.
Step 1 –Type
sudo docker pull disarmm/matrix and this will pull the updated image.
Step 2 –Type
sudo docker ps to show the list of your running docker containers. On the right hand side you will see the names of your containers. If your containers are stopped for some reason, you can type
sudo docker ps -a and it will show you all the stopped containers as well.
In this example I need to type
sudo docker stop B31 B32 B33 B34 B34 B35 B36 in order to stop all of my containers.
Step 3 –Remove the existing containers. If you followed my directions on the first guide here you created a persistent volume in step 4. This volume contains your blockchain data and will not be harmed when you remove a container, provided you followed my instructions correctly. Following the screenshot example above, you’d type
sudo docker rm B31 B32 B33 B34 B35 B36 to remove all the containers. Then to start the containers again, you follow the instructions from step 7 again in this guide.
Your node should start back up and keep syncing right where it left off.
NOTE: I updated the original document a little bit to give more detail and the /mnt/chaindata path changed to /mnt/data/chaindata in my example. Make sure to attach the correct volume from your host when you recreate your container.