forked from bubuntux/nordvpn
-
Notifications
You must be signed in to change notification settings - Fork 19
Updating and Maintenance
Alexander Zinchenko edited this page Mar 29, 2026
·
2 revisions
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:latest # or ghcr.io/azinchen/nordvpn: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
- Technologies
- IPv6 Configuration
- Automatic Reconnection
- Local Network Access
- VPN Gateway Mode
- OpenVPN Options
- Custom DNS
- Permissions
Security
Examples
Operations
Reference