Skip to main content

Updating Containerized Services

Keeping your services up to date is crucial for security and new features. Since we are using Podman (or Docker), updating is relatively straightforward.

The General Process

  1. Pull the latest image.
  2. Stop and Remove the current container.
  3. Re-create the container with the new image.

Using Podman Auto-Update

If you are using Podman Quadlets (systemd integration), you can enable auto-updates.

  1. Add AutoUpdate=registry to your .container file.
  2. Run podman auto-update.

Manual Update (Docker Compose / Podman Compose)

Navigate to your service directory:

cd /opt/services/nextcloud

Pull the new images:

docker-compose pull

Restart the containers:

docker-compose up -d