Created
December 16, 2016 13:14
-
-
Save jhazelwo/90efdbd9ca3f4f34b5879b28813b1610 to your computer and use it in GitHub Desktop.
Docker SystemD AWS EFS
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
install -d -m 0700 -o 0 -g 0 /etc/systemd/system/docker.service.d | |
echo '[Service]' > /etc/systemd/system/docker.service.d/efs.conf | |
echo 'ExecStart=' >> /etc/systemd/system/docker.service.d/efs.conf | |
echo "ExecStart=/usr/bin/dockerd -H fd:// -s devicemapper -g /data/$(hostname)/docker" >> /etc/systemd/system/docker.service.d/efs.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment