On 26/03/2018 04:52, Tomasz Pala wrote:

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

so, the intermediate fix is to figure out why the PATH of yours is without /sbin and /boin
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to