Replies: 10 comments 2 replies
-
Ensure you have the proper permissions on your volume, see #369 (comment) |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help. The code that shows you how to download the 'wordpress' image from https://hub.docker.com, access the container shell, view the permissions of the various CMS files but not how to solve the problem. What should I add in my .yaml file or in my Dockerfile? My configuration:
Correct configuration:
I use the following command to generate all images and containers.
|
Beta Was this translation helpful? Give feedback.
-
If I use this type of volume:
everything works perfectly but I can't access the contents of the CMS. For example, if I want to download a photo from Google Cloud that I entered a year ago, I can't do it.
I can access the contents but the permissions are not persistent. I give an example.
2) Everything works perfectly and I can't edit wordpress files;
As you can see the permissions are not persistent. |
Beta Was this translation helpful? Give feedback.
-
@fedegibut I tried to write to @tianon but he did not answer. If I restart Linux the permissions must not change. There is an error in the image or a bug inside Docker Compose. All the codes I find online use the inaccessible volume. From the following page it seems that Tianon Gravi has contributed a lot to the making of this wordpress image. I hope he wants to intervene. https://github.com/docker-library/wordpress/graphs/contributors |
Beta Was this translation helpful? Give feedback.
-
If the dropbox folder is syncing to their cloud it might be the way those files/folders are stored that doesn't mesh with Wordpress. You could try moving the files you want to a different dedicated folder You could also try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. If I move the project out of Docker and restart the machine, the permissions don't change anymore. Excellent! |
Beta Was this translation helpful? Give feedback.
-
Try adding |
Beta Was this translation helpful? Give feedback.
-
@yosifkit, your suggestion is the best I've read so far and it works but is not automatable. I have to look for the ID of the user on which I load the Docker configuration, edit the Docker Compose code and then start it. It is not a nice and comfortable solution. |
Beta Was this translation helpful? Give feedback.
-
If I use the following code I solve:
Is there any way to continue using the following string?
|
Beta Was this translation helpful? Give feedback.
-
Isn't there a way to create a real docker volume? |
Beta Was this translation helpful? Give feedback.
-
I opened this thread to talk to the author of the Wordpress image.
I use this docker compose setup:
I have two problems:
How do you solve these 2 problems?
Beta Was this translation helpful? Give feedback.
All reactions