Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dial udp [::1]:53: socket: operation not permitted #34070

Closed
flycat0101 opened this issue Jul 12, 2017 · 1 comment · Fixed by #47062
Closed

dial udp [::1]:53: socket: operation not permitted #34070

flycat0101 opened this issue Jul 12, 2017 · 1 comment · Fixed by #47062

Comments

@flycat0101
Copy link

flycat0101 commented Jul 12, 2017

hi,
i have one application, which can run pure ubuntu.
now I am moving this application into docker container, but when I run it, i got the below error:

dial tcp: lookup localhost on [::1]:53: dial udp [::1]:53: socket: operation not permitted.

could anyone give a little cue how to fix this issue?

below is the my docker and hardware information:

~# docker info
Containers: 16
 Running: 0
 Paused: 0
 Stopped: 16
Images: 1
Server Version: 1.12.6
Storage Driver: overlay
 Backing Filesystem: extfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null bridge host overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.65-dirty
Operating System: Ubuntu 16.04.2 LTS
OSType: linux
Architecture: aarch64
CPUs: 4
Total Memory: 7.727 GiB
Name: localhost
ID: LVMS:QC5N:2RDQ:EURF:VTQ7:NNOE:IQ6E:WN4G:ZLA3:WKSP:KILO:U2KH
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
Insecure Registries:
 127.0.0.0/8
@robmry
Copy link
Contributor

robmry commented Jan 23, 2024

This was likely to have been because we disabled IPv6 unless a container was connected to an IPv6 endpoint (so, there'd be no ::1 address on the loopback interface) ... with #47062, that'll no longer happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants