-
Notifications
You must be signed in to change notification settings - Fork 0
Updating and Maintenance
Alexander Zinchenko edited this page Jun 22, 2026
·
1 revision
When the vpn container is restarted — whether due to an image update or a manual restart — every container that uses network_mode: "service:vpn" must also be restarted so they reattach to the recreated network namespace.
docker compose pull
docker compose up -d --force-recreatedocker pull azinchen/nordvpn-wg:latest # or ghcr.io/azinchen/nordvpn-wg:latest
docker stop vpn && docker rm vpn
# Re-run your "vpn" container with the same args as before...
# Then restart each dependent container:
docker restart webapp api-service redisConsider using azinchen/update-docker-containers for automated, safe container updates.
Containers that use network_mode: "service:vpn" share the VPN container's network namespace. When the VPN container is recreated, a new namespace is created. Dependent containers still reference the old (now dead) namespace and lose all network connectivity until they are restarted.
Configuration
- Server Selection
- Server Groups
- IPv6 Configuration
- Automatic Reconnection
- Local Network Access
- VPN Gateway Mode
- Custom DNS
- Permissions
Security
Examples
Operations
Reference