~xaffe/takingstack

takingstack/files/setup-docker.sh -rw-r--r-- 238 bytes
292e055fTim Schumacher feat: adapt design from bulma 1 year, 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash

# Enable bash strict mode
set -euo pipefail
IFS=$'\n\t'

sudo mount -t tmpfs -o size=4G /dev/null /dev/shm
sleep 2
sudo nohup dockerd --bip 172.18.0.1/16 </dev/null >/dev/null 2>&1 &
sudo usermod -aG docker $(whoami)