Linux, 工作, 生活, 家人

Cloud, Linux

CentOS8 ARM64/AARCH64 Install Docker

It’s not complex to install docker on ARM64 platform and make it work, but it needs a trick

Remove Packages

$ sudo yum remove docker-ce docker-ce-cli

Install Containterd First

This is most important step, without this, docker’s install script will fail.

$ sudo dnf install

Docker Script

Get docker script and run it
$ curl -fsSL -o
$ sudo sh
Add your current username to docker group if not run on root account.
$ sudo usermod -aG docker your-user

Restart Docker And Enable Firewall

$ sudo systemctl start docker
$ firewall-cmd –zone=public –add-masquerade –permanent
$ firewall-cmd –reload