![]() ![]() I was wondering if anybody has manually setup MySQL using a Dockerfile on Centos and has some tips to get this going. ![]() This seems to be for abother distro as /usr/bin/mysqld doesnt actually exist on Centos7 and I can find no other way to set things up manually … I usually use the mysql_secure_installation command when setting up a VM, but as im doing this through a Dockerfile i can’t as it requires input from the user. Mysql -uroot -e "CREATE USER IDENTIFIED BY '$"ĬMD I have looked a few different places and got some ideas, and put the following together FROM centos:7 I know I should be using a seperate container for MySQL, but due to limitations I can’t, so now I have to install it using the Dockerfile and i am running into some issues. I am trying to setup MySQL using a Dockerfile which uses CentOS 7. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
August 2023
Categories |