Update docker setup

This commit is contained in:
Gabriel Augendre 2020-11-11 08:46:34 +01:00
parent 1c375ec73d
commit dbce4778b2
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -8,7 +8,6 @@ set -euo pipefail
IFS=$'\n\t'
sudo mount -t tmpfs -o size=4G /dev/null /dev/shm
sleep 10
sudo nohup dockerd --bip 172.200.0.1/16 </dev/null >/dev/null 2>&1 &
sleep 2
sudo nohup dockerd </dev/null >/dev/null 2>&1 &
sudo usermod -aG docker $(whoami)
sleep 10