Answer the question
In order to leave comments, you need to log in
How to set up Docker volumes to work with Wordpress?
How to change files in volumes docker compose? I shared the wordpress image folder, but I can’t change anything there (for some reason, I can root, but wp-content, wp-includes, etc. are gone). I added myself to the docker group, rebooted, I can work with docker without sudo, but I can’t change files. What to do?
Answer the question
In order to leave comments, you need to log in
For access, you must specify in the docker-compose file which folders you want to share access to.
Something like:
volumes:
- ./wp-content/:/var/www/html/wp-content
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question