Last active
February 5, 2017 01:06
-
-
Save thomasweng15/6a3e7cb1fc0c1a5a7c97fbd2991d1545 to your computer and use it in GitHub Desktop.
Save at /etc/systemd/system/docker-ml.service
This file contains hidden or 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
[Unit] | |
Description=ML container | |
Requires=docker.service | |
After=docker.service | |
[Service] | |
Restart=always | |
ExecStart=/usr/bin/docker start -a ml | |
ExecStop=/usr/bin/docker stop -t 2 ml | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment