Your guidance has really pushed me in the right direction. I am finally piecing the puzzle together to get my own server up and running. With the location of the files found, I would like to do two things:
1) backup the files from within /opt/omero/web
2) edit the files from my Host computer
I feel this can be accomplished simultaneously via Docker volumes. I ran the following to get the OMERO.web container started.
- Code: Select all
docker run -d --name omero-web -e OMEROHOST=10.108.21.205 -v ~/workspace/omero/web:/opt/omero/web -p 4080:4080 maxgitt/omero-web-standalone:5.4
Notice the docker image is from a forked repository of mine. I needed to make a change to the Ansible playbook from `localhost` to my IPV4 address. Now the issue:
- * By including the -v arg, my docker container immediately exits.
- * Also, if I take a look at my Host directory, most of the correct files are missing. I believe this is a permissions issue. See below attachment.
Here's what I've found,
- Code: Select all
Host $UID = 1000
Docker $UID = 998
Is this mismatch creating issues? I tried entering the Docker container and changing the ownership of all files but even then I don't know the omero-web password.
I found the Dockerfile where the `USER omero-web` is being set but can't find where I am to set the password.
Recap:
I would like to use Docker volumes to edit the Django apps in an IDE (which simultaneously gives me the ability to back up the files easily), but Host can't access the files found within the omero-web container.
Thank you ahead of time,
Max