Created
June 20, 2015 10:10
-
-
Save emestee/6b7a74bccadeec0dfe21 to your computer and use it in GitHub Desktop.
MySQL under docker doesn't allow connections on docker interface - solution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mysql:5 | |
COPY my.cnf /etc/mysql/conf.d/bind.conf | |
COPY schema.sql /root/schema.sql | |
VOLUME ["/var/lib/mysql"] | |
CMD mysqld |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mysqld] | |
bind-address=0.0.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment