linux:docker
这是本文档旧的修订版!
Docker
Docker is a utility to pack, ship and run any application as a lightweight container.
Installation
Add current user to docker
group:
sudo gpasswd -a [user] docker newgrp docker docker info # test its working
Using socks5 proxy (systemd only):
sudo mkdir /etc/systemd/system/docker.service.d sudoedit /etc/systemd/system/docker.service.d sudo systemctl daemon-reload sudo systemctl restart docker
- /etc/systemd/system/docker.service.d
[Service] Environment="ALL_PROXY=socks5://localhost:1080"
linux/docker.1491737413.txt.gz · 最后更改: 2023/12/03 10:24 (外部编辑)