Created
January 7, 2017 03:12
-
-
Save ajeetraina/e4d1ea21d8c5a17a5e5c1a6839e57557 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
sudo sed -i '/^ExecStart=/ s/$/ $DOCKER_OPTS/' /lib/systemd/system/docker.service && | |
sudo sed -i '9i EnvironmentFile=/etc/default/docker' /lib/systemd/system/docker.service && sudo sed -i '14i DOCKER_OPTS="--experimental"' /etc/default/docker && \ | |
sudo systemctl daemon-reload && \ | |
sudo systemctl restart docker.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment