I have a problem with docker-compose and mysql:
docker-compose.yml
version: \'2\' services: db: image: mysql volumes: - \"./sito/db/:
I just wanted to point out something, if using docker run command in terminal and not docker-compose, this would be the command:
docker run
docker run -e MYSQL_ROOT_PASSWORD=password mysql_image
Just notice that it won't work if you put -e MYSQL_ROOT_PASSWORD=password after mysql_image
-e MYSQL_ROOT_PASSWORD=password
mysql_image