docker: various utils not found in $PATH

Tomasz Pala gotar at polanet.pl
Mon Mar 26 03:52:27 CEST 2018


On Sun, Mar 25, 2018 at 23:28:58 +0300, Elan Ruusamäe wrote:

>> msg="devmapper: Error while creating filesystem ext4 on device docker-9:2-1199725-base: exec: \"mkfs.ext4\": executable file not found in $PATH"
>> msg="[graphdriver] prior storage driver devicemapper failed: exec: \"mkfs.ext4\": executable file not found in $PATH"
>> exec: "mkfs.ext4": executable file not found in $PATH
>> exec: "tune2fs": executable file not found in $PATH
>> error: exec: \"modprobe\": executable file not found in $PATH"
> docker version? are your running under systemd?

Current: docker-ce-17.12.0-1.x86_64, under older systemd-232-7.

> what is the $PATH of dockerd environ?
> 
> # cat /proc/`pidof dockerd`/environ|tr '\0' '\n'|grep PATH
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin

-- 
Tomasz Pala <gotar at pld-linux.org>


More information about the pld-devel-en mailing list