If you are using portainer, I would highly recomend configurating a "stack". This is basically a docker compose file that is handled by the portainer ui. This makes updating images far easier in my view. Just update your stack, hit deploy and all configuration changes and necessary images are updated.
There is a post here from the other day that has a stack example for HA Docker