Release Notes
Announcements
Release Notes
pkill -9 containerd; systemctl is-active dockerd containerd command. At this point, dockerd will be stopped by systemd.kill -9 command. Even if Restart is set in Docker, recovery is not possible. For more information, see:#!/bin/bashinsert_if_absent() {line="${1}"lead="$(echo "${line}" | cut -f1 -d=)""="if ! grep "^${lead}" /usr/lib/systemd/system/containerd.service > /dev/null 2>&1; thensed -i "/^ExecStart=/a${line}" /usr/lib/systemd/system/containerd.servicefi}insert_if_absent OOMScoreAdjust=-999insert_if_absent RestartSec=5insert_if_absent Restart=alwayssed -i '/BindsTo/d' /usr/lib/systemd/system/dockerd.servicesed -i 's/^Wants.*/Wants\\=network-online.target containerd.service/' /usr/lib/systemd/system/dockerd.servicesystemctl daemon-reload
docker run command.pkill -9 containerd;systemctl is-active dockerd containerd
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários