-
-
Save thoraxe/1660128933add797d1a1d46bfe2ac4d2 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
[Unit] | |
Description=Lab guide container | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
ExecStartPre=-/usr/bin/docker create --name %n -p 80:8080 --env-file /etc/sysconfig/workshopper docker.io/osevg/workshopper:0.1 | |
ExecStart=/opt/bin/systemd-docker run --name %n | |
Restart=always | |
RestartSec=10s | |
Type=notify | |
NotifyAccess=all | |
TimeoutStartSec=120 | |
TimeoutStopSec=15 | |
[Install] | |
WantedBy=multi-user.target | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment