Feedback for Docker installation in Raspberry nodes

For those who might got be stuck like me when installing Docker in a Raspberry, following the docs.

The stated command didn’t work:

sudo apt-get install docker-ce docker-ce-cli containerd.io

But this line command succeded:

curl -sL get.docker.com | sed 's/9)/10)/' | sudo sh

I’m sure it does, but piping a script directly into an elevated shell makes me sweat… You should never do this, it’s very insecure.

If you want to use this script to install, please instead follow the instructions docker provides inside the script itself.

# This script is meant for quick & easy install via:
#   $ curl -fsSL https://get.docker.com -o get-docker.sh
#   $ sh get-docker.sh
#
# NOTE: Make sure to verify the contents of the script
#       you downloaded matches the contents of install.sh
#       located at https://github.com/docker/docker-install
#       before executing.
1 Like

Perhaps this recently published Pi Installation guide may be helpful https://morioh.com/p/c976e28142f5

2 Likes

its stated in the docker docs.

Not sure but ill Think you have to be root

but here how to

$ curl -fsSL https://get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh

If you would like to use Docker as a non-root user, you should now consider adding your user to the “docker” group with something like:

  sudo usermod -aG docker your-user

sorry for the double posting.

Browser jumped to bottom after i read it