Skip to content
Sam Erde edited this page Dec 28, 2020 · 4 revisions

How to properly upgrade a container the Docker way (also the podman way).

  1. Update container
    podman pull docker.io/path/to/application

  2. Stop old container and remove it
    podman stop containername
    podman rm containername

  3. Start it back up using the full run line for that specific container from when you initially set it up.
    podman run -d ...

  4. Done!

Clone this wiki locally