How to Install Docker on Raspberry Pi

Photo by Chanaka on Pexels.com

Update!! If you accidentally come to this post, we highly recommend you to check our updated tutorial to install Docker CE on Raspberry Pi.

Hello everyone, today I am going to install Docker on my Raspberry Pi. I am running Raspbian on my Pi device. As you know, Raspbian is Debian based Linux distribution designed for ARM processor like Raspberry Pi. Installing Docker on Raspberry Pi is pretty similar to other system such as Ubuntu or Debian. Docker is a great way to virtualize applications. It is lightweight and very powerful.

Steps to Install Docker on Raspberry Pi

Step 1. Access Raspberry Pi

In most cases, you will need to connect to your Raspberry Pi via SSH. From Windows 10, you can use Termius or Putty to connect to Pi via SSH.

Step 2. Update Your System

Use the following command to update Raspbian local repository

apt update

Step 3. Install Docker

Now use this command to install Docker on Raspbian

apt install docker.io

Output:

root@raspberrypi:~# apt install docker.io
Reading package lists... Done
Building dependency tree 
Reading state information... Done
The following packages were automatically installed and are no longer required:
 lxkeymap python-cairo python-gobject python-gobject-2 python-gtk2 python-xklavier
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
 cgroupfs-mount
Suggested packages:
 aufs-tools btrfs-tools debootstrap lxc rinse zfs-fuse | zfsutils
The following NEW packages will be installed:
 cgroupfs-mount docker.io
0 upgraded, 2 newly installed, 0 to remove and 5 not upgraded.
Need to get 4,841 kB of archives.
After this operation, 22.8 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Now check the Docker version

docker --version

Output

root@raspberrypi:~# docker --version
Docker version 1.8.3, build f4bf5c7

At this point, we have successfully install Docker on Raspberry Pi. Thanks for deading this article.

1 Trackback / Pingback

  1. Install Docker CE on Raspberry Pi | Manjaro dot site

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.