Install Docker and Docker Compose on a RaspberryPi running Ubuntu 20.04
by Mahesh Kumar Kolla
Sub post of Deploy Nodejs 12 and Mongodb 4.4 application on a RaspberryPi
Prev: Install Ububtu 20.04 Server on a Raspberry Pi 4
Next: Run Nodejs and Mongo application on RaspberryPi running Ubuntu 20.04 using Docker and Docker Compose
In this post, We will install Docker and Docker Compose on a RaspberryPi running Ubuntu 20.04
- 
    Install Dockercurl -sSL https://get.docker.com | sh
- 
    Change permissionsThis will help to run docker commands without using sudo sudo usermod -aG docker piNote: You need to reboot to run docker without sudo 
- 
    Install the dependencies for docker-composesudo apt-get install libffi-dev libssl-devsudo apt-get install python3 python3-pip
- 
    Install docker composesudo pip3 install docker-composeDocker compose installation takes time. If you want to see the feedback then you can run the command with -v(verbose mode)
- 
    Test docker and docker-composedocker -vor you can pull a sample image and run itdocker-commpose -v
Prev: Install Ububtu 20.04 Server on a Raspberry Pi 4
Next: Run Nodejs and Mongo application on RaspberryPi running Ubuntu 20.04 using Docker and Docker Compose
Subscribe via RSS