diff --git a/README.md b/README.md index 16ac18b..491eafb 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,17 @@ At the time I'm writing this README, it will: You need a place to store your stuff. Mine is `/srv/ext/incoming`. - docker run -d -p 8080:8080 --device /dev/sr0 -v /srv/ext/incoming:/incoming registry.gitlab.com/dartcatcher/media-sucker/media-sucker + docker run \ + --name=sucker \ + -d --restart=always \ + -p 8080:8080 \ + --device /dev/sr0 \ + -v /srv/ext/incoming:/incoming \ + registry.gitlab.com/dartcatcher/media-sucker/media-sucker + +I can't get it to work with docker swarm. +Presumably some magic is happening with `--device`. +It probably has something to do with selinux. Stick a video DVD or audio CD in, and the drive should spin up for a while,