Hello everyone, on my previous tutorial I have installed Docker on my Raspberry Pi. But, actually that was the old version of Docker. Now, on this post I am going to show you how to install Docker CE (Community Edition) on Raspberry Pi. Docker CE supports various Linux distribution such as Debian Stretch (Raspbian Stretch). So, if you are running Raspbian Stretch, you can easily install Docker CE on Raspbian.
Steps to Install Docker CE on Raspberry Pi
Step 1. Remove Docker old version
If you have older version of Docker, you will need to remove them first. Use the following command to remove docker.
apt remove docker docker-engine docker.io
Step 2. Install Docker CE
Use this command to install Docker CE on Raspbian system. The following command must be executed as root user.
curl -fsSL get.docker.com -o get-docker.sh sh get-docker.sh
At this point, docker should be installed. You may check its version
root@raspberrypi:~# docker --version Docker version 18.05.0-ce, build f150324