Cocolabs-SAS / cocorico-docker

The official Cocorico docker image that give you the ability to run Cocorico out of the box.
https://www.cocolabs.io/
MIT License
23 stars 48 forks source link

Server installation #33

Closed jra83 closed 4 years ago

jra83 commented 4 years ago

Hi everyone, I ve been looking for a while but i don't get what is going wrong . I've pulled with docker the quick installation of cocorico with the command :

"run --name cocorico -ti -p 80:80 -p 3306:3306 -p 9001:9001 -p 27017:27017 -v 'pwd':/cocorico -v 'pwd'/tmp/mysql:/var/lib/mysql -v 'pwd'/tmp/mongo:/data/db -e HOST_UID=$UID cocolabs/cocorico"

when I use no local working directory so 'pwd'='' then i works. I can access through localhost etc; however the data are not stored in a persistant volume (if I get the principle right), so i cannot really work on the thing, more over i can only modify css and so on directly in the docker console.

if I put a local directory such as 'C:/www/cocorico' then docker start a container but it is not working. 2 things I can give you to get some help:

install cocorico.txt

" Warning: require(/cocorico/web/../vendor/autoload.php): failed to open stream: No such file or directory in /cocorico/web/app_dev.php on line 8

Fatal error: require(): Failed opening required '/cocorico/web/../vendor/autoload.php' (include_path='.:') in /cocorico/web/app_dev.php on line 8"

Hope someone will be able to help me, would be great to be able to work with cocorico. thanks very much,

jra

jra83 commented 4 years ago

I close the subject as i seems to be working using a ubuntu VM + docker instead of docker on windows. JR