From 207bc37d84e153f337916511c023b730dc6fc291 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Tue, 24 May 2022 18:43:52 -0600 Subject: [PATCH] Update readme --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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,