File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,11 @@ provision:
7575 readonly systemctl="systemctl --user"
7676 readonly tee="tee"
7777
78- sudo systemctl disable --now docker.socket docker
78+ sudo systemctl disable --now docker
7979 if [ "$rootless_installed" != "true" ]; then
8080 sudo apt-get install -y dbus-user-session fuse3 uidmap
8181 $systemctl start dbus
82+ [ ! -S /var/run/docker.sock ] || sudo rm /var/run/docker.sock
8283 dockerd-rootless-setuptool.sh install
8384 fi
8485 docker context use rootless
Original file line number Diff line number Diff line change @@ -75,10 +75,11 @@ provision:
7575 readonly systemctl="systemctl --user"
7676 readonly tee="tee"
7777
78- sudo systemctl disable --now docker.socket docker
78+ sudo systemctl disable --now docker
7979 if [ "$rootless_installed" != "true" ]; then
8080 sudo apt-get install -y dbus-user-session fuse3 uidmap
8181 $systemctl start dbus
82+ [ ! -S /var/run/docker.sock ] || sudo rm /var/run/docker.sock
8283 dockerd-rootless-setuptool.sh install
8384 fi
8485 docker context use rootless
You can’t perform that action at this time.
0 commit comments