The docker
engine is a prerequisite to build the docker images.
Follow the instructions to install the docker
engine on your local system. The docker version 20.10.10
or later is required for full features.
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
It is recommended that you complete the post-installation steps to manage
docker
as a non-root user.
If you are behind a firewall, complete the following steps to setup the proxies:
sudo mkdir -p /etc/systemd/system/docker.service.d
printf "[Service]\nEnvironment=\"HTTP_PROXY=$http_proxy\" \"HTTPS_PROXY=$https_proxy\" \"NO_PROXY=$no_proxy\"\n" | sudo tee /etc/systemd/system/docker.service.d/proxy.conf
sudo systemctl daemon-reload
sudo systemctl restart docker
Optionally, login to your dockerhub account so that you can pull images from dockerhub.