Sleep more while setting up docker

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

View file

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