skip to Main Content

How to stop docker on vm shutdown under Linux

I have 3 dockers container running, and i want stop container before shutdown the vm. I create one file : /etc/systemd/system/unmount-disks.service [Unit] Description=Démontage des disques externes et NAS avant arrêt DefaultDependencies=no Before=docker.service shutdown.target reboot.target halt.target [Service] Type=oneshot ExecStart=/usr/local/bin/unmount_disks.sh RemainAfterExit=true Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"…

VIEW QUESTION

Debian – Yocto glibc error in do_fetch for glibc library in cross compilation for qt based yocto image

While compiling Yocto for Renesas Board facing an issue in fetching the glibc library Please find the log: glibc-2.28-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1321"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/poky/scripts:build/tmp/work/aarch64-poky-linux/glibc/2.28-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:build/tmp/work/aarch64-poky-linux/glibc/2.28-r0/recipe-sysroot/usr/bin/crossscripts:build/tmp/work/aarch64-poky-linux/glibc/2.28-r0/recipe-sysroot-native/usr/sbin:build/tmp/work/aarch64-poky-linux/glibc/2.28-r0/recipe-sysroot-native/usr/bin:build/tmp/work/aarch64-poky-linux/glibc/2.28-r0/recipe-sysroot-native/sbin:build/tmp/work/aarch64-poky-linux/glibc/2.28-r0/recipe-sysroot-native/bin:poky/bitbake/bin:/home/nitish/yocto/rzg_vlp_v3.0.5/build/tmp/hosttools"; export HOME="$DIR"; /usr/bin/env wget -t 2…

VIEW QUESTION
Back To Top
Search