Docker can be installed in different way.
Here it is explained to install it on Raspberry PI with Raspbian OS
Follow the steps below to install docker on your Raspberry PI
NoteAssuming that you are running all the commands as a
If you are running from non-root user, you should include
sudoin the beginning of the commands.
# copy the installation script curl -fsSL https://get.docker.com -o get-docker.sh # execute the script sh get-docker.sh # enable the docker daemon systemctl enable docker.service # start the docker daemon systemctl start docker.service # check the docker daemon is active systemctl is-active docker.service
- Optional steps - If you plan to play docker command on user
# add a non-root user to the docker group # here the "pi" is a user usermod -aG docker pi
Last modified August 17, 2022: disable feedback and enable read time (c92e0f0)