13 lines
281 B
Bash
Executable file
13 lines
281 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# From https://git.sr.ht/~xaffe/card-librarian
|
|
# Under GPL v3
|
|
|
|
# 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 </dev/null >/dev/null 2>&1 &
|
|
sudo usermod -aG docker $(whoami)
|