/ software

"bad listen address format" docker error on Debian (and elsewhere)

I just encountered an issue on my Debian sid ("unstable") system where docker wouldn't start due to incompatibilities between its components.

On my search on the net, I found various proposals to just downgrade containerd, but I thought that's kinda lame (and it's also tedious to make sure that all the dependencies are still met and upgrades still work for everything else).

The sign that something went wrong was this message in the log:

msg="bad listen address format /var/run/docker/libcontainerd/docker-containerd.sock, expected proto://address"

And the solution was putting a wrapper for containerd in /usr/local/bin to translate the old into the new address format:

while [ $# -gt 0 ]; do
	cmd="$cmd $1"
	if [ $1 = "-l" ]; then
		cmd="$cmd unix://$1"
exec $cmd
Patrick Georgi

Patrick Georgi

Von der Stadt aufs Land. Freund des retro computings und des inneren Exils. Die Gedanken sind frei. Dieses Recht findet seine Schranken in den Vorschriften der allgemeinen Gesetze.

Read More
"bad listen address format" docker error on Debian (and elsewhere)
Share this