Installing Docker
Procedure
- Use PuTTY to log in to the server as the root user.
- Download the installation package and decompress it.
cd /path/to wget https://download.docker.com/linux/static/stable/aarch64/docker-18.09.8.tgz tar -xzvf docker-18.09.8.tgz
- Configure Docker.
cp -p docker/* /usr/bin/ vim /lib/systemd/system/docker.service
Add the following content and save the file.
[Unit] Description=Docker Application Container Engine Documentation=https://docs.docker.com After=network-online.target firewalld.service Wants=network-online.target [Service] Type=notify ExecStart=/usr/bin/dockerd ExecReload=/bin/kill -s HUP $MAINPID LimitNOFILE=infinity LimitNPROC=infinity TimeoutStartSec=0 Delegate=yes KillMode=process Restart=on-failure StartLimitBurst=3 StartLimitInterval=60s [Install] WantedBy=multi-user.target
- Start the Docker service.
systemctl start docker.service
- View the Docker version.
docker version
If the version 18.09.8 in displayed in the command output, the installation is successful.

Parent topic: Configuring the Compilation Environment