Загрузка страницы

How to Install Docker on Ubuntu Server 20.04 on Raspberry Pi 3

Hello friend
it s Maulana
Today I have been install Ubuntu server 20.04 on raspberry pi 3
in the ubuntu website shown that we can use docker inside
so, lets try to install docker on ubuntu server 20 on raspberry
first, lets go inside the ubuntu server using ssh
- open terminal
- type ssh ubuntu@your_ubuntu_server_ip
- insert password

Now, we are in, lets install it
- do update
sudo apt-get update
- then we need install tools for installing
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
*we got error due to dpkg forntend lock
solve it using
Run these commands one by one.
sudo lsof /var/lib/dpkg/lock
sudo lsof /var/lib/apt/lists/lock
sudo lsof /var/cache/apt/archives/lock
sudo kill -9 bprocess_id
You can now safely remove the lock files using the commands below:
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
After that, reconfigure the packages:
sudo dpkg --configure -a

- after finish installation of the tool, add docker GPG
find out at : https://docs.docker.com/engine/install/ubuntu/
- update and install the docker
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
- now, we can test it using
sudo docker run hello-world
docker ps
Okey, we are success installing docker on ubuntu server 20.04 on raspberry pi 3

Thanks for watching

Видео How to Install Docker on Ubuntu Server 20.04 on Raspberry Pi 3 канала Maulana Ali Arifin
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
16 апреля 2022 г. 18:00:19
00:20:37
Яндекс.Метрика