-
-
Notifications
You must be signed in to change notification settings - Fork 654
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
Confused on where to place the ./data/www folder on Windows #187
Comments
The paths are relative to the devilbox directory. So in your case, add your www data in: C:\Docker\devilbox\data\www |
Thanks for replying Now, I have created the folder and executed the command; but unfortunately
Below is what was generated in the command line after executing the command above Thank you for helping out |
Looks like your configuration is wrong. You have many startup errors complaining about wrong values in |
That's a copy of my .env file NB: I changed the directory from ./data to ./prjDev and created the folders accordingly Please let me know if anything is wrong |
This looks good so far. Are you using the file extension |
Another thing you could do prior running . .env |
No. I only had to convert it to .txt file before I can upload due to Github restriction. I'm confused as to why it's not working. Maybe I should try using .\prjDev instead of ./prjDev. windows might be funny at times not understanding the link. And in your video, I saw you changed the ./data to ~/data. can this be a solution too? Don't know if it's going to work that way. |
Below are all the information I can get when I run the following commands $ docker-compose ps
$ docker-compose images
$ docker-compose logs
$ docker-compose top
$ docker-compose events
|
Can you paste your docker and docker-compose version here as well as the windows version and whether you use native docker or docker toolbox for windows. |
Now, I'm like 35% successful after reading your comment here Docker Shared Drives and following the documentation on Docker website All necessary files are being copied to the ./prjDev respective folders but Localhost still not loading. below is the log from the command $ docker-compose up
Looking at above log and reading from this issue located here, there's a similarity in my case here as well |
$ docker version
$ docker-compose version
|
I have the following: $ docker --version
Docker version 18.01.0-ce, build 03596f5 $ docker version
Client:
Version: 18.01.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: 03596f5
Built: Wed Jan 10 20:09:19 2018
OS/Arch: linux/amd64
Experimental: false
Orchestrator: swarm
Server:
Engine:
Version: 18.01.0-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.2
Git commit: 03596f5
Built: Wed Jan 10 20:07:49 2018
OS/Arch: linux/amd64
Experimental: false Can you check if there is a newer docker version available for windows? |
Also it still looks like your . .env |
I downloaded it 3 days ago. So I believed that's the latest version, though I download the The .env file has been read because all the files in ./prjDev/mysql, ./prjDev/pgsql, ./prjDev/mongo has been copied after executing |
Looks like the
It stops after that. |
Funny enough, I used 0, and 0 is also listed as accepted value. So why the error. I'll change it and get back to report the outcome |
Finally, the page got loaded and MySQL and PHP started quite alright but pgSQL and Mongo isn't starting as you can see from the screenshot above Below is the pgsql and mongo log from the command
I think it's related to what this issue below is about Using Docker for Windows to volume-mount a Windows drive into a Linux container is bad |
Gladly I have everything running now. I think there's need for more documentation concerning Windows User. Thanks for coming up with such great project |
@joberror thanks for the feedback and glad that it works for you now. Documentation is on the list to be extended. |
If you encounter a bug and something does not work, make sure you have done the following and check those boxes before submitting an issue - thank you!
docker pull cytopia/<used_docker>
) before runningdocker-compose up
log/
directory).env
settingDEBUG_COMPOSE_ENTRYPOINT=1
)HOST_PATH_TO_MYSQL_DATADIR
on existing database files. Different mysql|mariadb versions might upgrade/corrupt existing database files. If you have done that already, start with a different path ofHOST_PATH_TO_MYSQL_DATADIR
(to an empty directory) and try again.Please also specify the following info:
docker version
docker-compose version
I have Devilbox installed in C:\Docker\devilbox and set all the Path variables in the .env as
./data/www
./data/mysql
./data/pgsql
./data/mongo
for WWW, MYSQL, PGSQL and MONGO respectively
But I'm highly confused as where to place these folders. I watched your video but you created those folders using the command interface.
The text was updated successfully, but these errors were encountered: