Skip to content

Commit

Permalink
rootless-install.sh: print upgrade steps
Browse files Browse the repository at this point in the history
Signed-off-by: Akihiro Suda <[email protected]>
  • Loading branch information
AkihiroSuda committed Apr 23, 2021
1 parent 8e12ac5 commit 6580690
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 6580690

Please sign in to comment.