How-to stop and remove old Docker images running RNode
It is a best practice to stop and remove containers running older versions of RNode and update to the most current version.
How to remove stopped containers
Command to remove all stopped dockers
docker rm $(docker ps -a -q)
If you receive a message like this:
'Error response from daemon: You cannot remove a running container 16f29fc8cb080a58b9f92b6aa19af0e446a1ba496110ba1efcb67b681dbb7eef. Stop the container before attempting removal or force remove'
Docker kill 'node id'
Where 'node id' in the above example is:
Run this for each of the nodes showing in the error message. Then re-run the rm command again.
Pull a new Docker image with the latest version of RNode
Find the latest version of RNode at https://developer.rchain.coop