[Unit] Description=DCOS: Serve the local universe (HTTP) After=docker.service [Service] Restart=always StartLimitInterval=0 RestartSec=15 TimeoutStartSec=120 TimeoutStopSec=15 ExecStartPre=-/usr/bin/docker kill %n ExecStartPre=-/usr/bin/docker rm %n ExecStart=/usr/bin/docker run --rm --name %n -p 8083:80 portworx/universe nginx -g "daemon off;" [Install] WantedBy=multi-user.target