Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.18 KB

setup-docker.md

File metadata and controls

33 lines (20 loc) · 1.18 KB

The docker engine is a prerequisite to build the workload images. It is also one of the validation backends that can be used to run single-container workloads on your local machine.

Setup Docker

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.

Setup Proxies

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

Docker Login

Login to your dockerhub account so that you can pull images from dockerhub.

See Also