Skip to content

Instantly share code, notes, and snippets.

@kmurudi
Created June 29, 2017 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kmurudi/34c47bfcf2b36c71a647b51f59448c0e to your computer and use it in GitHub Desktop.
Save kmurudi/34c47bfcf2b36c71a647b51f59448c0e to your computer and use it in GitHub Desktop.
[Unit]
Description=Lab guide container
After=docker.service
Requires=docker.service
[Service]
ExecStart=/opt/bin/systemd-docker run --name=workshopper3 -p 80:8080 --env-file /etc/sysconfig/workshopper docker.io/osevg/workshopper:0.1 env
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