docker-surfshark: unable to resolve hosts
i installed this on my synology NAS as per the instructions. it appears to be running, but i can’t seem to confirm that it has successfully connected.
I connect to it using the Terminal tab. Run the sh
command to get a new window. Then inside it run, curl ifconfig.me command.
however the response i got was curl: (6) Could not resolve host: ifconfig.me
the logs don’t appear to be show any connection errors. how can i check that it actually is connected and working?
{
"cap_add" : [ "NET_ADMIN" ],
"cap_drop" : null,
"cmd" : "",
"cpu_priority" : 50,
"devices" : [
{
"CgroupPermissions" : "rwm",
"PathInContainer" : "/dev/net/tun",
"PathOnHost" : "/dev/net/tun"
}
],
"enable_publish_all_ports" : false,
"enable_restart_policy" : true,
"enabled" : true,
"env_variables" : [
{
"key" : "TZ",
"value" : "Europe/London"
},
{
"key" : "PATH",
"value" : "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
},
{
"key" : "SURFSHARK_USER",
"value" : "**************"
},
{
"key" : "SURFSHARK_PASSWORD",
"value" : "**************"
},
{
"key" : "SURFSHARK_COUNTRY",
"value" : ""
},
{
"key" : "SURFSHARK_CITY",
"value" : ""
},
{
"key" : "CONNECTION_TYPE",
"value" : "tcp"
}
],
"exporting" : false,
"id" : "be5a6540ef32b44c2b907711681b60fc1477cde854e69b0229441f898035947a",
"image" : "ilteoood/docker-surfshark",
"is_ddsm" : false,
"is_package" : false,
"links" : [],
"memory_limit" : 0,
"name" : "surfshark",
"network" : [
{
"driver" : "bridge",
"name" : "bridge"
}
],
"network_mode" : "default",
"port_bindings" : [],
"privileged" : false,
"shortcut" : {
"enable_shortcut" : false
},
"use_host_network" : false,
"volume_bindings" : []
}
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21 (11 by maintainers)
just an FYI, adding the DNS option did indeed make it work. it now resolves FQDN correctly.
sudo docker run -it --cap-add=NET_ADMIN --device /dev/net/tun --dns=8.8.8.8 --name surfshark -e SURFSHARK_USER=************** -e SURFSHARK_COUNTRY=nl -e SURFSHARK_PASSWORD=************** ilteoood/docker-surfshark