[Unit] Description=Dogtamer Container After=docker.service Requires=docker.service [Service] TimeoutStartSec=0 Restart=always ExecStartPre=-/usr/bin/docker stop dogtamer ExecStartPre=-/usr/bin/docker rm dogtamer ExecStart=/usr/bin/docker run -p 5566:5566 \ --name dogtamer dogtamer:latest [Install] WantedBy=multi-user.target