Dockerfiles icon indicating copy to clipboard operation
Dockerfiles copied to clipboard

Troubleshooting for noobs

Open jjanvier opened this issue 7 years ago • 3 comments

Just a little documentation request for n00bs like me.

It would be cool to have a section that explains what we have to do start:

  • copy docker-compose file
  • change what we have to change in the docker-composer file
  • change what we have to change in the parameters*.yml
  • docker-compose up -d
  • bin/docker/* commands

jjanvier avatar Nov 02 '17 10:11 jjanvier

another things how to use your own mysql client through Docker

mysql -h 127.0.0.1 -P 3307 -u akeneo_pim -p akeneo_pim < foo.sql

both -h and -P must be specified!

jjanvier avatar Nov 02 '17 13:11 jjanvier

Heyy @jjanvier , you can use docker-compose exec mysql mysql -uakeneo_pim -p akeneo_pim < /path/on/docker . I share my Downloads folder with the MySQL container to be able to execute this command as well.

rybus avatar Jan 18 '18 20:01 rybus

Also, Instead of -h 127.0.0.1, you can use --protocol=tcp.

damien-carcel avatar Jan 19 '18 08:01 damien-carcel