Skip to content

Auto Updates

Docker Compose

With Docker Compose wg-easy can be updated with a single command:

Replace $DIR with the directory where your docker-compose.yml is located.

cd $DIR
sudo docker compose up -d --pull always

Docker Run

sudo docker stop wg-easy
sudo docker rm wg-easy
sudo docker pull ghcr.io/wg-easy/wg-easy

And then run the docker run -d \ ... command from Docker Run again.

Podman

To update wg-easy (and every container that has auto updates enabled), you can run the following command:

sudo podman auto-update