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

docker-compose fails to start while openvpn is up #1244

Open
2 of 3 tasks
calife opened this issue May 17, 2021 · 0 comments
Open
2 of 3 tasks

docker-compose fails to start while openvpn is up #1244

calife opened this issue May 17, 2021 · 0 comments

Comments

@calife
Copy link

calife commented May 17, 2021

  • This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

Expected behavior

docker-compose fails to start while openvpn is up

Actual behavior

./docker-cli.sh start
Starting docker instances in detached mode
Creating network "pcop" with driver "bridge"
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?

If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.

Output of /var/log/syslog

ay 17 15:06:58 mpucci-pcop dockerd[46791]: time="2021-05-17T15:06:58.471629461+02:00" level=debug msg="Request address PoolID:172.22.0.0/16 App: ipam/default/data, ID: LocalDefault/172.22.0.0/16, DBIndex: 0x0, Bits: 65536, Unselected: 65534, Sequence: (0x80000000, 1)->(0x0, 2046)->(0x1, 1)->end Curr:0 Serial:false PrefAddress: "
May 17 15:06:58 mpucci-pcop dockerd[46791]: time="2021-05-17T15:06:58.471743381+02:00" level=debug msg="Did not find any interface with name br-cefcfe9f3a78: Link not found"
May 17 15:06:58 mpucci-pcop dockerd[46791]: time="2021-05-17T15:06:58.471798770+02:00" level=debug msg="Setting bridge mac address to 02:42:4d:01:3e:14"
May 17 15:06:58 mpucci-pcop dockerd[46791]: http: panic serving @: runtime error: invalid memory address or nil pointer dereference#012goroutine 774 [running]:#012net/http.(*conn).serve.func1(0xc000c10280)#12#011/usr/local/go/src/net/http/server.go:1795 +0x13b#012panic(0x55fe1b1990c0, 0x55fe1c956380)#12#011/usr/local/go/src/runtime/panic.go:679 +0x1b6#012github.com/docker/docker/vendor/github.com/vishvananda/netlink.parseAddr(0xc0003223cc, 0x38, 0x38, 0x0, 0xc000d0f6a0, 0x4, 0x280, 0x0, 0x0, 0x0, ...)#12#011/go/src/github.com/docker/docker/vendor/github.com/vishvananda/netlink/addr_linux.go:274 +0x202#012github.com/docker/docker/vendor/github.com/vishvananda/netlink.(*Handle).AddrList(0xc001063460, 0x55fe1b60d6a0, 0xc001258c60, 0x2, 0x2, 0x1a4, 0x0, 0x0, 0xa3000c000d45090)#12#011/go/src/github.com/docker/docker/vendor/github.com/vishvananda/netlink/addr_linux.go:199 +0x213#012github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge.(*bridgeInterface).addresses(0xc0009d1620, 0xc000eaa0c0, 0xc0014806e8, 0x0, 0xc0004ea000, 0x7f3f32f37460, 0x0, 0x55fe1a44c79c, 0x18)#12#011/go/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge/interface.go:57 +0x52#012github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge.setupBridgeIPv4(0xc00104e9c0, 0xc0009d1620, 0x0, 0x0)#12#011/go/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge/setup_ipv4.go:31 +0xc3#012github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge.(*bridgeSetup).apply(0xc001480978, 0xc00000f520, 0x4)#12#011/go/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge/setup.go:17 +0x7c#012github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge.(*driver).createNetwork(0xc00099e780, 0xc00104e9c0, 0x0, 0x0)#12#011/go/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge/bridge.go:809 +0x7fb#012github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge.(*driver).CreateNetwork(0xc00099e780, 0xc0012a61c0, 0x40, 0xc000ccdcb0, 0x55fe1b60b6a0, 0xc0001b8fc0, 0xc000f10780, 0x1, 0x1, 0x55fe1ca1caf0, ...)#12#011/go/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/drivers/bridge/bridge.go:648 +0x411#012github.com/docker/docker/vendor/github.com/docker/libnetwork.(*controller).addNetwork(0xc000d98100, 0xc0001b8fc0, 0x0, 0xc00099e780)#12#011/go/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/controller.go:1011 +0x159#012github.com/docker/docker/vendor/github.com/docker/libnetwork.(*controller).NewNetwork(0xc000d98100, 0xc0005f5b90, 0x6, 0xc0005f5b88, 0x4, 0xc0012a61c0, 0x40, 0xc000ccdc50, 0x6, 0x6, ...)#12#011/go/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/controller.go:828 +0xa7d#012github.com/docker/docker/daemon.(*Daemon).createNetwork(0xc00000c3c0, 0x1, 0xc0005f5b90, 0x6, 0x0, 0x0, 0x0, 0x0, 0x100, 0x0, ...)#12#011/go/src/github.com/docker/docker/daemon/network.go:365

Steps to reproduce the behavior

docker-compose up

REDACTED

Output of docker version:

Server: Docker Engine - Community
 Engine:
  Version:          20.10.6

Output of docker info:

Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.5.1-docker)
  scan: Docker Scan (Docker Inc., v0.7.0)

Server:
 Containers: 11
  Running: 0
  Paused: 0
  Stopped: 11
 Images: 186
 Server Version: 20.10.6
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runtime.v1.linux runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 05f951a3781f4f2c1911b05e61c160e9c30eaa8e
 runc version: 12644e614e25b05da6fd08a38ffa0cfe1903fdec
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.8.0-50-generic
 Operating System: Ubuntu 20.04.2 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 13.64GiB
 Name: mpucci-pcop
 ID: 6Z6X:B3YX:BSYO:LOKV:XGCF:KD5A:OTMI:JN3W:UK5R:EXSS:ZAUQ:HUZ2
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 22
  Goroutines: 34
  System Time: 2021-05-17T15:15:54.061443434+02:00
  EventsListeners: 0
 Username: calife
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

Additional environment details (AWS, VirtualBox, physical, etc.)

cat /etc/issue
Ubuntu 20.04.2 LTS

5.8.0-50-generic #56~20.04.1-Ubuntu

openvpn --version
OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 27 2021

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

No branches or pull requests

1 participant