Docker containers should start at boottime.

This commit is contained in:
2025-01-26 14:47:36 +01:00
parent e953eb8053
commit 0482e55f86
2 changed files with 65 additions and 1 deletions

View File

@ -60,8 +60,17 @@ apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docke
# systemctl disable docker.service
# systemctl disable containerd.service
#
systemctl enable docker.service
systemctl enable containerd.service
systemctl enable docker.service
# !! Note !!
#
# if enabling 'docker service' failed, you can try to manually set the symlink that causes
# automatic booting:
#
# ln -s /lib/systemd/system/docker.service /etc/systemd/system/multi-user.target.wants/
systemctl daemon-reload
# ----------