Skip to content

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

@flycat0101

Description

@flycat0101

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions