making sure docker registry has knowledge of the host

This commit is contained in:
Arjun Patel
2023-11-17 23:49:09 -08:00
parent 182868f2aa
commit 70fb7d5f5f
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -103,8 +103,8 @@ restart_docker_engine () {
# On Linux, restart through "systemd"
elif [ "$(uname)" == "Linux" ] && is_program_installed "systemctl"; then
sudo systemctl stop docker.service || true
sudo systemctl start docker.service
sudo systemctl stop snap.docker.dockerd.service || true
sudo systemctl start snap.docker.dockerd.service
# Other platforms are not supported
else