- make sure you never mount your cdrom.
- run you container using the command like ``` docker run -i -t -v /dev/cdrom:/dev/cdrom dockerfiles/centos-lamp /bin/bash```
- type ```mkdir /mnt/cdrom``` in your container bash.
- type ```mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom``` in your container bash.
- see you cdrom using ```ls /mnt/cdrom``` in your container bash.
沒有留言:
張貼留言