Last edited:
This morning I decided to update all my NAS'es. Running DSM updates and updating packages
One of the packages to be updated is Docker, going to version 18.09.0-0513 .
After the update, I noticed my NordVPN ( azinchen/nordvpn ) container no longer wants to reboot. After re-creating the container, I get this error message:
The command I use to re-create the container is:
According to the Docker Hub documentation the " --cap-add=NET_ADMIN --device /dev/net/tun" method is to give the container some extra, but restricted, priviliges to what it needs to run. This ofcourse has the preference then giving it full privileges.
Does anyone know what I can do to find a solution? I could try to start the container with full priviliges, but I'd rather not do that.
Should I open a ticket with Synology to ask why this method has stopped working?
One of the packages to be updated is Docker, going to version 18.09.0-0513 .
After the update, I noticed my NordVPN ( azinchen/nordvpn ) container no longer wants to reboot. After re-creating the container, I get this error message:
Code:
docker: Error response from daemon: linux runtime spec devices: error gathering device information while adding custom device "/dev/net/tun": no such file or directory.
The command I use to re-create the container is:
docker run -ti --cap-add=NET_ADMIN --device /dev/net/tun --name nordvpn4 --hostname nordvpn4 --restart=always --network physical_network_noproxy --ip 192.168.0.196 --dns 192.168.1.194 \
-e USER=[email protected] -e PASS='****' -e COUNTRY=Switzerland -e RECREATE_VPN_CRON="5 */3 * * *" -e NETWORK='192.168.0.0/24;192.168.1.0/24;192.168.3.0/24' -e RANDOM_TOP=10 -e TECHNOLOGY=OpenVPN -e PROTOCOL=openvpn_udp -eCATEGORY='Standard VPN servers'
-e TZ='Europe\Amsterdam' -e OPENVPN_OPTS='--pull-filter ignore "ping-restart" --ping-exit 180' -p 8080:80 -d azinchen/nordvpn
According to the Docker Hub documentation the " --cap-add=NET_ADMIN --device /dev/net/tun" method is to give the container some extra, but restricted, priviliges to what it needs to run. This ofcourse has the preference then giving it full privileges.
Does anyone know what I can do to find a solution? I could try to start the container with full priviliges, but I'd rather not do that.
Should I open a ticket with Synology to ask why this method has stopped working?