Skip to content

Commit

Permalink
Merge pull request #227 from AkihiroSuda/rootless-upgrade-step
Browse files Browse the repository at this point in the history
rootless-install.sh: print upgrade steps
  • Loading branch information
thaJeztah authored Apr 23, 2021
2 parents 8e12ac5 + 6580690 commit e9faf4d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion rootless-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,13 @@ checks() {
if [ -x "$BIN/$DAEMON" ]; then
# If rootless installation is detected print out the modified PATH and DOCKER_HOST that needs to be set.
echo "# Existing rootless Docker detected at $BIN/$DAEMON"
echo "# See https://docs.docker.com/go/rootless/ for the usage."
echo
echo "# To reinstall or upgrade rootless Docker, run the following commands and then rerun the installation script:"
echo "systemctl --user stop docker"
echo "rm -f $BIN/$DAEMON"
echo
echo "# Alternatively, install the docker-ce-rootless-extras RPM/deb package for ease of package management (requires root)."
echo "# See https://docs.docker.com/go/rootless/ for details."
exit 0
fi

Expand Down

0 comments on commit e9faf4d

Please sign in to comment.