I have scoured the docs and forums and can't seem to find were I have gone wrong. Using a fresh install of Mint 22.1 and Docker Desktop (new to Linux) check-optical-drive.sh isn't able to find my optical drives;
[cont-init ] 54-check-optical-drive.sh: executing...
[cont-init ] 54-check-optical-drive.sh: looking for usable optical drives...
[cont-init ] 54-check-optical-drive.sh: no usable optical drives found.
[cont-init ] 54-check-optical-drive.sh: terminated successfully.
I am unsure if this is a Docker problem or a problem with the script. It is worth noting that if I don't have --privileged in the run script then docker can't run the container, flagging an error;
(HTTP code 500) server error - error gathering device information while adding custom device "/dev/sr0": no such file or directory.
I have tried find solutions to this problem; making the container privileged, changing were the drives mount, what permissions they mount with but I have exhausted my limited knowledge and what solutions I could find.
For the check-optical-drive.sh to find my 3 drives, even if they aren't yet exposed.
[
{
"Id": "845b1f7bb297e1afe2a5d28fa4c21ba681026e45b69f104bcdba9ceb4a0c7bff",
"Created": "2025-05-02T03:54:11.362871175Z",
"Path": "/init",
"Args": [],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 639,
"ExitCode": 0,
"Error": "",
"StartedAt": "2025-05-02T06:32:55.47926589Z",
"FinishedAt": "2025-05-02T06:32:54.883744451Z"
},
"Image": "sha256:ae840c402381a83f511a91d2b2a70291b912a0a5810fdb46b545d2e7c93f7e04",
"ResolvConfPath": "/var/lib/docker/containers/845b1f7bb297e1afe2a5d28fa4c21ba681026e45b69f104bcdba9ceb4a0c7bff/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/845b1f7bb297e1afe2a5d28fa4c21ba681026e45b69f104bcdba9ceb4a0c7bff/hostname",
"HostsPath": "/var/lib/docker/containers/845b1f7bb297e1afe2a5d28fa4c21ba681026e45b69f104bcdba9ceb4a0c7bff/hosts",
"LogPath": "/var/lib/docker/containers/845b1f7bb297e1afe2a5d28fa4c21ba681026e45b69f104bcdba9ceb4a0c7bff/845b1f7bb297e1afe2a5d28fa4c21ba681026e45b69f104bcdba9ceb4a0c7bff-json.log",
"Name": "/makemkv-disk1",
"RestartCount": 0,
"Driver": "overlayfs",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/home/copirightplayer:/storage:ro",
"/mnt/remote/NASTemp/rips/arm:/output:rw",
"/home/copirightplayer/.docker/appdata/makemkv:/config:rw"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "bridge",
"PortBindings": {
"5800/tcp": [
{
"HostIp": "",
"HostPort": "5800"
}
]
},
"RestartPolicy": {
"Name": "always",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
24,
80
],
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "private",
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": true,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": [
"label=disable"
],
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"BlkioDeviceReadBps": [],
"BlkioDeviceWriteBps": [],
"BlkioDeviceReadIOps": [],
"BlkioDeviceWriteIOps": [],
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [
{
"PathOnHost": "/dev/sr0",
"PathInContainer": "/dev/sr0",
"CgroupPermissions": "rwm"
},
{
"PathOnHost": "/dev/sg1",
"PathInContainer": "/dev/sg1",
"CgroupPermissions": "rwm"
}
],
"DeviceCgroupRules": null,
"DeviceRequests": null,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": null,
"PidsLimit": null,
"Ulimits": [],
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": null,
"ReadonlyPaths": null
},
"GraphDriver": {
"Data": null,
"Name": "overlayfs"
},
"Mounts": [
{
"Type": "bind",
"Source": "/home/copirightplayer/.docker/appdata/makemkv",
"Destination": "/config",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/mnt/remote/NASTemp/rips/arm",
"Destination": "/output",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/home/copirightplayer",
"Destination": "/storage",
"Mode": "ro",
"RW": false,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "845b1f7bb297",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"5800/tcp": {},
"5900/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/base/sbin:/opt/base/bin",
"ENV=/root/.docker_rc",
"USER_ID=1000",
"GROUP_ID=1000",
"SUP_GROUP_IDS=",
"UMASK=0022",
"LANG=en_US.UTF-8",
"TZ=Etc/UTC",
"KEEP_APP_RUNNING=0",
"APP_NICENESS=0",
"INSTALL_PACKAGES=",
"PACKAGES_MIRROR=",
"CONTAINER_DEBUG=0",
"DISPLAY_WIDTH=1920",
"DISPLAY_HEIGHT=1080",
"DARK_MODE=0",
"SECURE_CONNECTION=0",
"SECURE_CONNECTION_VNC_METHOD=SSL",
"SECURE_CONNECTION_CERTS_CHECK_INTERVAL=60",
"WEB_LISTENING_PORT=5800",
"VNC_LISTENING_PORT=5900",
"VNC_PASSWORD=",
"ENABLE_CJK_FONT=0",
"WEB_AUDIO=0",
"WEB_AUTHENTICATION=0",
"WEB_AUTHENTICATION_TOKEN_VALIDITY_TIME=24",
"WEB_AUTHENTICATION_DEFAULT_USERNAME=",
"WEB_AUTHENTICATION_DEFAULT_PASSWORD=",
"MAKEMKV_KEY=BETA",
"MAKEMKV_GUI=1",
"AUTO_DISC_RIPPER=0",
"AUTO_DISC_RIPPER_MAKEMKV_PROFILE=",
"AUTO_DISC_RIPPER_EJECT=0",
"AUTO_DISC_RIPPER_PARALLEL_RIP=0",
"AUTO_DISC_RIPPER_INTERVAL=5",
"AUTO_DISC_RIPPER_MIN_TITLE_LENGTH=",
"AUTO_DISC_RIPPER_BD_MODE=mkv",
"AUTO_DISC_RIPPER_FORCE_UNIQUE_OUTPUT_DIR=0",
"AUTO_DISC_RIPPER_NO_GUI_PROGRESS=0"
],
"Cmd": [
"/init"
],
"Image": "jlesage/makemkv",
"Volumes": {
"/config": {},
"/output": {},
"/storage": {}
},
"WorkingDir": "/tmp",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"org.label-schema.description": "Docker container for MakeMKV",
"org.label-schema.name": "makemkv",
"org.label-schema.schema-version": "1.0",
"org.label-schema.vcs-url": "https://github.com/jlesage/docker-makemkv",
"org.label-schema.version": "25.04.1"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "6c0cc7ea945be1bb4247746c9fd53e294e70851da72b2ced5647d020f9e12866",
"SandboxKey": "/var/run/docker/netns/6c0cc7ea945b",
"Ports": {
"5800/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "5800"
}
],
"5900/tcp": null
},
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "0ee82d5934ea0d1f518b62d45b06d1edfbfa1041b8dd546a019132a5497a0123",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "36:34:97:80:be:1b",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"MacAddress": "36:34:97:80:be:1b",
"DriverOpts": null,
"GwPriority": 0,
"NetworkID": "0c9eca91500abc247bef1ac765fbf8bfd23712467f92c8057a931d03e1a455f1",
"EndpointID": "0ee82d5934ea0d1f518b62d45b06d1edfbfa1041b8dd546a019132a5497a0123",
"Gateway": "172.17.0.1",
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"DNSNames": null
}
}
},
"ImageManifestDescriptor": {
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"digest": "sha256:dcaf6ce76dc2af8721e120955c7f1e01eec28866521ef267577adde59b1ddb17",
"size": 8744,
"platform": {
"architecture": "amd64",
"os": "linux"
}
}
}
]
I have attached 2 screenshots of the relevant settings that i could think of (and the settings of which I have tried modifying). The state the settings are in the screenshots are the defaults except the run script and the Docker Desktop File shares.


Thanks for the hand and apologies if this is the wrong place to put this, if it is not an issue with the container.
-Copi.
Current Behavior
I have scoured the docs and forums and can't seem to find were I have gone wrong. Using a fresh install of Mint 22.1 and Docker Desktop (new to Linux) check-optical-drive.sh isn't able to find my optical drives;
[cont-init ] 54-check-optical-drive.sh: executing...
[cont-init ] 54-check-optical-drive.sh: looking for usable optical drives...
[cont-init ] 54-check-optical-drive.sh: no usable optical drives found.
[cont-init ] 54-check-optical-drive.sh: terminated successfully.
I am unsure if this is a Docker problem or a problem with the script. It is worth noting that if I don't have --privileged in the run script then docker can't run the container, flagging an error;
(HTTP code 500) server error - error gathering device information while adding custom device "/dev/sr0": no such file or directory.
I have tried find solutions to this problem; making the container privileged, changing were the drives mount, what permissions they mount with but I have exhausted my limited knowledge and what solutions I could find.
Expected Behavior
For the check-optical-drive.sh to find my 3 drives, even if they aren't yet exposed.
Steps To Reproduce
Environment
Client: Docker Engine - Community
Version: 28.1.1
API version: 1.49
Go version: go1.23.8
Git commit: 4eba377
Built: Fri Apr 18 09:52:14 2025
OS/Arch: linux/amd64
Context: desktop-linux
Server: Docker Desktop 4.41.0 (190950)
Engine:
Version: 28.1.1
API version: 1.49 (minimum version 1.24)
Go version: go1.23.8
Git commit: 01f442b
Built: Fri Apr 18 09:52:57 2025
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.27
GitCommit: 05044ec0a9a75232cad458027ca83437aae3f4da
runc:
Version: 1.2.5
GitCommit: v1.2.5-0-g59923ef
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Container creation
docker run -d
--name=makemkv-disk1
-p 5800:5800
-v /home/copirightplayer/.docker/appdata/makemkv:/config:rw
-v /home/copirightplayer:/storage:ro
-v /mnt/remote/NASTemp/rips/arm:/output:rw
--device /dev/sr0
--device /dev/sg1
--privileged
--restart "always"
jlesage/makemkv
Container log
Container inspect
Anything else?
I have attached 2 screenshots of the relevant settings that i could think of (and the settings of which I have tried modifying). The state the settings are in the screenshots are the defaults except the run script and the Docker Desktop File shares.


Thanks for the hand and apologies if this is the wrong place to put this, if it is not an issue with the container.
-Copi.