-
Notifications
You must be signed in to change notification settings - Fork 16
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
Can't use volumes with docker-compose #6
Comments
Any update on this? |
my solution to this is to create a custom
and then in the docker file use the file as the entry point:
|
I am stuck on this also. What is weird, is locally on OSX docker, it works fine. But on ubuntu 18 docker, I get this issue: I found that when I bash into the container and look at the perms etc, it looks incorrect on the storage folder.
I did a edit: Its not permanent. Whenever I rsync my storage directory from osx host to ubuntu host, it gets incorrect user:group and needs to be fixed. Right now I do this: edit again: Ok I found the solution for my situation is to add to my up.sh script that starts docker-compose to do a |
I also ran into this issue. Could the suggestions proposed by @aheinze not be added to the official dockerfile? |
fixed it in this pr #12 |
@stereobooster test it now with the pr merged. If so you can close the issue :) |
Fixed it for me. Thx @cupcakearmy && @aheinze ! |
@cupcakearmy still not working for me. Getiing this error: I tried just using docker-compose.yml file from the original Issue message. Also I tried clonning repository and building image locally, the issue stays the same. Any idea? |
Is it a clean system or an existing one? |
@BlindDespair have you tried these steps? |
@cupcakearmy both me and my friend tried it. My system was not completely clean, because I already had cockpit running before although it was just couple of weeks. But my friend yesterday did it on completely fresh system and had the same issue. I tried the steps you mentioned there. I checked out the repository, built a docker image with docker-compose and then tried running but still same problem... The only difference was that the version of my docker-compose file was only 3. When I try 3.7 I get error that it's an invalid version. |
if 3.7 is an invalid version you should update docker & docker-compose first. maybe there is the error? |
i don't know what else could be the issue |
@cupcakearmy Thank you for fast responses. I will check my version today in the evening. But I installed docker and docker-compose recently with apt-get on ubuntu, I think it should be already one of the most recent. But if it turns out to be the case, I think still won't completely be okay if I can't just install docker by default and use it that way. |
Have you added the docker repository or have you just |
If you haven't follow these instructions https://docs.docker.com/install/linux/docker-ce/ubuntu/ |
@cupcakearmy thank you again for your answers very much. I don't remember now how exactly I installed I think I had to add something. But I will check in the evening again, it could be that I did it wrong actually. |
@cupcakearmy I can confirm that it works when I checkout the project and build image myself. However when I run it using proper docker-compose.yml file using image from registry it seems like entrypoint is just not running for me or not doing anything.
when I do EDIT: |
Ok, I figured out finally what happened here and why it was different. Apparently I had cockpit pulled before your fix. And somehow even despite me writing |
yes, you need to do a |
Thanks for the fix |
docker-compose.yml
Run
Open http://localhost:8080/install/ and get
https://github.com/stereobooster/headless-cms-comparison/tree/master/cockpit
The text was updated successfully, but these errors were encountered: