Skip to main content

Docker Installation

The Radxa Debian system already has Docker-related configurations enabled in the kernel. You only need to install the Docker application to start using it.

tip

Currently, users in certain regions may not be able to access Docker Hub. You may need to configure a Docker mirror or use a proxy to access it.

Install Docker

Run the following commands in the terminal to install Docker:

radxa@radxa-4d$
sudo apt update
sudo apt install docker.io

Configure iptables

radxa@radxa-4d$
sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy

After rebooting the system, the Docker configuration will take effect.

Verify Installation

radxa@radxa-4d$
docker --version

If the installation was successful, you should see output similar to:

Docker version 20.10.24+dfsg1, build 297e128

Add User to Docker Group

To run Docker commands without using sudo, add your current user to the Docker group by running:

radxa@radxa-4d$
sudo usermod -aG docker $USER

After rebooting the system, the Docker configuration will take effect.