Unexpected crash when using docker


#1

Hi,

I’m experiencing strange issues on some openstack instances, when starting instances with --net=host, couchbase is continuous crashing.
For an unknown reason I have the two other couchbase core running for a month, but I dont want to restart them now as this will break my production.

GH issue related (crash dump attached) : https://github.com/couchbase/docker/issues/105

docker run --net=host -ti --rm --name couchbase couchbase:community-4.5.1
Jun 29 17:31:41 cache1 docker[6161]: Starting Couchbase Server – Web UI available at http://:8091
Jun 29 17:31:41 cache1 docker[6161]: and logs available in /opt/couchbase/var/lib/couchbase/logs
Jun 29 17:31:43 cache1 docker[6161]: [1B blob data]
Jun 29 17:31:43 cache1 docker[6161]: Crash dump was written to: erl_crash.dump.1530285576.217.babysitter
Jun 29 17:31:43 cache1 docker[6161]: Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{‘EXIT’,nodistribution}}}}},{k

Kernel

Linux cache1 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux

Docker info

Containers: 1
Running: 1
Paused: 0
Stopped: 0
Images: 2
Server Version: 18.05.0-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 773c489c9c1b21a6d78b5c538cd395416ec50f88
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.0-6-amd64
Operating System: Debian GNU/Linux 9 (stretch)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 6.654GiB
Name: cache1
ID: TLIC:QRXG:TUSJ:MLY6:RD5R:U5XI:NOCL:6RTU:TJGM:G5GK:J3X6:RLS3
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: true

WARNING: No swap limit support
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled