Installation
install current version (ubutnu/debian)
https://docs.docker.com/engine/install/ubuntu/:
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
If you use an Ubuntu derivative distro, such as Linux Mint, you may need to use UBUNTU_CODENAME instead of VERSION_CODENAME.
execute docker without sudo
sudo groupadd dockerif not already existssudo usermod -aG docker $USERadd user to group- logout and login, or restart on VM
proxy settings
create file in /etc/systemd/system/docker.service.d/http-proxy.conf
[Service]
Environment="HTTPS_PROXY=http://www-zproxy.fronius.com:80/"
Environment="HTTP_PROXY=http://www-zproxy.fronius.com:80/"
Environment="NO_PROXY=localhost,127.0.0.1,fronius.com,10.0.0.0/8"
than execute
systemctl daemon-reload
systemctl restart docker
systemctl show --property Environment docker