Created
February 14, 2018 16:56
-
-
Save vyo/2fe31fb95a9d7bd7196f792fa0cb7119 to your computer and use it in GitHub Desktop.
systemd service file for Docker on Centos 7 (custom data directory)
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
[Service] | |
ExecStart= | |
ExecStart=/usr/bin/dockerd -g /data/docker \ | |
--add-runtime docker-runc=/usr/libexec/docker/docker-runc-current \ | |
--default-runtime=docker-runc \ | |
--exec-opt native.cgroupdriver=systemd \ | |
--userland-proxy-path=/usr/libexec/docker/docker-proxy-current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if you are stuck with a corporate proxy environment (Corpxe TM) add your proxy env vars, too: