Docker containers should start at boottime.
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
# ----------
|
||||
|
Reference in New Issue
Block a user