Commit 8779ad57 authored by Richard RANDRIATOAMANANA's avatar Richard RANDRIATOAMANANA 💬
Browse files

Update userdata-docker.sh

parent c1120129
......@@ -46,9 +46,28 @@ cat<<EOF1 | tee /etc/docker/daemon.json
"mtu": 1500
}
EOF1
##
## Local configuration
##
mkdir $HOME/.docker/
cat > $HOME/.docker/config.json << EOFLOCAL
{
"proxies": {
"default": {
"httpProxy": "http://proxy-upgrade.univ-nantes.prive:3128",
"httpsProxy": "http://proxy-upgrade.univ-nantes.prive:3128",
"noProxy": "127.0.0.0/8"
}
}
}
EOFLOCAL
##
## Restart daemon
##
systemctl daemon-reload
systemctl restart docker.service
pkill -SIGHUP dockerd
python3 -m pip install --upgrade pip
python3 -m pip install docker-compose
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment