Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix volume permission error #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

NicoFgrx
Copy link

@NicoFgrx NicoFgrx commented Feb 8, 2025

Hi,

This PR fix an error about volume permission at docker startup :
Before:

docker compose up
[+] Running 6/6
 ✔ Network osaka_net                  Created                                                                                                                              0.1s 
 ✔ Container osaka-database-1         Created                                                                                                                              0.1s 
 ✔ Container osaka-loader-1           Created                                                                                                                              0.1s 
 ✔ Container osaka-editor-1           Created                                                                                                                              0.1s 
 ✔ Container osaka-visualizer-1       Created                                                                                                                              0.1s 
 ✔ Container osaka-volume-perm-job-1  Created                                                                                                                              0.1s 
Attaching to database-1, editor-1, loader-1, visualizer-1, volume-perm-job-1
visualizer-1       | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
visualizer-1       | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
visualizer-1       | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
visualizer-1       | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
Error response from daemon: error while creating mount source path '/opt/db': mkdir /opt/db: read-only file system

After: containers starts correctly :)

The volumes section inside the compose declares an unused volume, so I assumed it was this one.

Also, if you follow the documentation the zip archives will be generated inside tools folder so I add it in the .gitignore file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant