Let's put Docker in Manjaro installed on Raspberry Pi 4 and set up some server. It's my first Arch system and I'm embarrassed and nervous.
Confirmation environment
$ lsb_release -rd
Description: Manjaro ARM Linux
Release: 20.09
Docker
$ sudo pacman -S docker
$ docker --version
Docker version 19.03.12-ce, build 48a66213fe
$ sudo usermod -aG docker `whoami`
I wanted to do systemctl start docker
without rebooting, but it didn't start at all.
After restarting with systemctl enable docker
, it was easy, so this is fine.
$ sudo systemctl enable docker
$ sudo reboot
Docker Compose
$ sudo pacman -S docker-compose
$ docker-compose --version
docker-compose version 1.27.3, build unknown
The package is quite substantial.
Recommended Posts