Bonjour,
Après installation de Docker Toolbob je tente de créer un volume dans un répertoire nommé:
Ceci étant dis j'ai n'ai aucun répertoire et volume de créé dans le répertoire "dockerMysql".
Code : Sélectionner tout - Visualiser dans une fenêtre à part docker run --name mysql_dev -p 3306:3306 -v /C:/Users/asus/Documents/docker/dockerMysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=mysql -e MYSQL_USER=user -e MYSQL_PASSWORD='password -e MYSQL_DATABASE=car mysql
La suite de répertoire var/lib/mysql n'existe pas
J'ai les erreur suivante:
Merci les amis du dev
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 $ docker run --name mysql_dev -p 3306:3306 -v //C/Users/asus/Documents/docker/dockerMysql:/var/lib/mysql -e MYSQL_ROOT_ PASSWORD=mysql -e MYSQL_USER=taxi -e MYSQL_PASSWORD=taxi -e MYSQL_DATABASE=taxi mysql 2019-09-27T09:48:19.449535Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release. 2019-09-27T09:48:19.449623Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.17) starting as process 1 2019-09-27T09:48:19.851533Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2019-09-27T09:48:19.853416Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory. 2019-09-27T09:48:19.876943Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.17' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL. 2019-09-27T09:48:20.049097Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: '/var/run/mysqld/mysqlx.sock' bind-address: '::' port: 33060






Répondre avec citation
Partager