Trying to migrate from a temporary working setup on my desktop machine running Docker on Windows 10 (Hyper-V) to a dedicated VM using Ubuntu Server 18.04.1 LTS.
Docker was installed at OS install and then I continued to follow the Docker guide here Xibo 1.8.9 with Docker on Ubuntu 16.04 at the installing Docker Compose section.
Rather than downloading the CMS, I want to copy my current working configuration and populated shared folder to the new Docker server. I copied this into the /opt/xibo folder created and ran docker-compose up -d, however I get the following error.
docker-compose up -d
Creating network “xibo_default” with the default driver
Creating xibo_cms-db_1 … error
Creating xibo_cms-xmr_1 …
ERROR: for xibo_cms-db_1 Cannot start service cms-db: error while creating moun Creating xibo_cms-xmr_1 … done
ERROR: for cms-db Cannot start service cms-db: error while creating mount sourc e path ‘/opt/xibo/shared/db’: mkdir /opt/xibo: read-only file system
ERROR: Encountered errors while bringing up the project.
I have tried to temporarily applied 777 permissions to the shared folder to see if that resolves it but it doesn’t. In the Windows version of Docker you give permission for Docker to access files on a local disk. Is there something similar in the Linux version that I have not done?
Any help approached. Apologies but still learning with Docker!