Created
April 28, 2020 16:46
-
-
Save tancou/9df32306cec86bc0c7579687931922bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt update -y | |
apt install curl -y | |
apt install qemu-guest-agent -y | |
curl -sSL https://get.docker.com/ | sh | |
mkdir -p /etc/systemd/system/docker.service.d/ | |
cat <<EOF > /etc/systemd/system/docker.service.d/mount_propagation_flags.conf | |
[Service] | |
MountFlags=shared | |
EOF | |
systemctl daemon-reload | |
systemctl restart docker.service | |
usermod -aG docker ${USER} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment