Your
docker run invocation creates a container based on image
centos, and launches a command named
cdrom:/media/cdrom in that container. This fails, since there is no command with this name.
To map /media/cdrom into the container, you can use
-v /media/cdrom:MOUNTPOINT:ro, where MOUNTPOINT is the directory in the container. Not sure if the ro flag is required. See
https://docs.docker.com/storage/bind-mounts/.