Created
December 13, 2016 22:06
-
-
Save netmarkjp/0a13ca2f7b1b0cfe8261d7601e5a79b2 to your computer and use it in GitHub Desktop.
oneliner: edit systemd config with systemctl
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
EDITOR=tee sudo -E bash -c '( echo "[Service]" ; echo "ExecStart=" ; echo "ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2375" ) | systemctl edit docker.service' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment