failed to retrieve docker-init version

I’m using docker installed from the stock obs repos for tumblweed and I’ve got this error showing up in my dockerd log:

level=warning msg="failed to retrieve docker-init version: exec:  \"docker-init\": executable file not found in $PATH" 

cat /etc/os-release
NAME="openSUSE Tumbleweed"
# VERSION="20180326"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="20180326"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20180326"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

docker info
Containers: 5
 Running: 0
 Paused: 0
 Stopped: 5
Images: 44
Server Version: 17.09.1-ce
Storage Driver: btrfs
 Build Version: Btrfs v4.15
 Library Version: 102
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: oci runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
runc version: 3f2f8b84a77f73d38244dd690525642a72156c64
init version: N/A (expected: )
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.15.13-1-default
Operating System: openSUSE Tumbleweed
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.63GiB
Name: sam.shire
ID: WVQF:S247:CKOS:YUS5:BWCQ:EEZ7:OZ4S:S5OB:UCYC:44TQ:OASX:6Y77
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: mmh42
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support

There are a few related posts:

https://forums.opensuse.org/showthread.php/529911-Lightworks-docker-image
https://forums.opensuse.org/showthread.php/529781-Docker-init-version-missing

But they convoluted the my issue with something else.

Thanks!

What you don’t say is whether docker works or not…

Sorry, docker works for the most part. I’m getting a weird issue where every ~10 builds or so

docker build

hangs and weird things happen on my system. I just noticed that message in the logs and wanted to see if anyone had any ideas how to fix that before I try and troubleshoot some weird stuff I’m seeing.

FWIW I see the same warning, but I’m not building anything, just running a container on my server.

It is a “warning” and not an error, I’ve seen in another thread it could be that the binary was built incorrectly. I’ll file a bug report anyway to reduce the noise in the log file. Thanks!