-
Notifications
You must be signed in to change notification settings - Fork 10
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
PHP 7 image does not read volumes #11
Comments
Hey @AndreaBarghigiani , your help in identifying problems is absolutely helpful. Thank you. the short answer is: update your config to volumes:
- ./public:/html
- ~/.ssh:/root/.ssh I can't get why you had doubled mount of The long answer is:
to this
my fault.
If you could test the proposed configuration and if it would work, I'll proceed to write down more info in the README's "Usage" section. Please let me know and thanks again for your time and patience. |
Thank you @pioneerskies for your help, your advices resolved my problem. Now I am able tu push/pull to my server and I am ready to properly work!
Actually I do not know either because I am usign the Anyway I would like to let you know that I do not use your snippet because I am running a For example the container running WordPress is To connect to the container with WordMove I type: I don't know if this is the best way or if I can use it because I am running inside a Reading this I understand that with Do I need to know something more related to WordMove? I am asking just to improve my knowledge 😉 |
:) I'm glad it worked. I'll update the readme even if it's not useful for you. The readme of a docker container is absolutely generic; the actual usage you will do with it is totally up to you ;) I don't know what Since in this container
but it's just for the sake of science I'm pointing that out :P Do you feel like we could close this issue? Have you tried the shiny new Have a nice evening |
Hi @pioneerskies, Thanks for the shortcut, I am sure I'll use a lot your command 😉 I do not have tryed the Thank you again for all the help man, really apprecciated! I've wrote and article about WordMove and I am planning to release a course to teach how to create a WordPress development workflow where I surely mention WordMove! |
@AndreaBarghigiani As soon as I can I'll update the Cheers and thanks for helping us. |
Hi @pioneerskies, I am commenting also because I have a strange problem, I am not able to use the The
If I change the volume of WordMove for Even if I change the The workaround I found right now is to leave the The only thing is that each time I enter in the WordMove container I have to Thank you so much for your time and your help man, really apprecciated! Sorry if I am writing on a closed issue, if you prefer I can open a new one. All the best, |
Hey no problem at all. AFAIK wordpress:
volumes:
- ./public:/var/www/html
wordmove:
volumes:
- ./public:/html should just work. I can't see the point about changing the volume in wordmove container and getting blank page when connecting to wordpress container. It sounds really weird to me. That said...as a last chance you could override the entrypoint in the docker-compse.yml following this doc. But it is a workaround for me and you should let every container work as it is intended to do... P.S.: under wordpress image you've doubled the |
I'll run some tests and let you know how it goes. Thanks again! |
I know that this is strange but I've noticed that if I use If I run root@a79da921f4c9:/html# ls wp-content/
index.php
plugins
themes Instead if I run root@a79da921f4c9:/html# ls /var/www/html/wp-content/
languages/
local-backup-1559114083.sql.gz
plugins/
themes/
uploads/ And this happen on a fresh install. I am sure that I am using something wrong here, maybe is during the installation of the script I mentioned before but I really do not understand why this is happening. 💡Idea: Maybe I have to update the PS: about the double link I've removed the phpMyAdmin section and forgot to remove PPS: if you check the script that I use to configure Docker I've edited the WordMove path in my local environment but not (yet) in the script on GitHub 😉 |
I do not know if you're running About what to write as path into the Let me know if that helps and if it seems a nice and practical approach to you |
You're great! The problem was the Anyway to give you some context about the
but with your solution now I can also run
Thank you a lot man to help me out with it! |
WoW. I'm really glad it worked. I hope you'll have the opportunity to update your script with new default, since now I'll plan to update the You are always welcome back for firther help. Best luck with your course. Cheers! 🎉 |
Hi all,
recently we've discussed in #10 that in order to use this image with WordPress 5.2 we need to pull the
welaika/wordmove:php7
image.The problem is that if I use this image when I get into it I will be logged in the
/html
folder.I am using this script to jump start the building of my dev environment (on my machine I've edited it to use the
:php7
tag) and in it I have my volumes declared like this:With the
:php7
tag I've lost this connection and I am not able to connect via SSH to my servers. Here's the error message:This thing does not happen when I try to connect to the same server from a container that's running the old (stable) version of WordMove.
I am sorry to keep asking for help but I do not know where and how fix this issue.
Thank you all for the future help!
The text was updated successfully, but these errors were encountered: