Home Business Analyst BA Agile Coach How to install Docker and Docker Compose on Raspberry Pi?

How to install Docker and Docker Compose on Raspberry Pi?

17
0



Docker is the de facto standard to build and share containerized apps – from desktop to the cloud. You can basically run Docker virtually anywhere from your DigitalOcean Droplet or your Laptop, to your Raspberry Pi at home. This is a quick demo that shows you how to install Docker on your Raspberry Pi.

I use DigitalOcean for all of my demos, you can use the link below to get a free $100 credit and spin up your own Linux servers!

https://m.do.co/c/2a9bba940f39

Twitter: https://twitter.com/bobbyiliev_
Website: https://bobbyiliev.com

Blog Post with all of the commands in the video:

https://devdojo.com/tutorials/how-to-install-docker-and-docker-compose-on-raspberry-pi

List of the commands used in the video:

Step 1 – Download the Docker install script

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

Step 2 – Run the Docker install script

sudo sh get-docker.sh

Step 3 – Add your user to the Docker group (Optional)

sudo usermod -aG docker ${USER}

Step 4

sudo su – ${USER}

Step 5 – Test Docker

docker version
docker run hello-world

Step 6 – Install Docker Compose

sudo pip3 install docker-compose

source

LEAVE A REPLY

Please enter your comment!
Please enter your name here