dereknex
8/2/2016 - 5:16 AM

Untitled-2

docker volume create portainer_data
docker service create \
--name portainer \
--publish 9000:9000 \
--replicas=1 \
--constraint 'node.role == manager' \
--mount type=bind,src=//var/run/docker.sock,dst=/var/run/docker.sock \
--mount type=volume,src=portainer_data,dst=/data \
portainer/portainer \
-H unix:///var/run/docker.sock

polipo socksParentProxy=127.0.0.1:1080

git config --global http.proxy http://127.0.0.1:8123

git config --global https.proxy https://127.0.0.1:8123

git config --global --unset http.proxy

git config --global --unset https.proxy