I am creating a docker image for mysql database. For this purpose, I have to start mysql in the foreground, and not as a deamon service. I am using the base centos image. How to start mysql in the foreground?
If you run mysqld_safe
mysqld_safe
CMD ["mysqld_safe"]
The process should be in the foreground and blocked.
However, as the comments above show, there are several official MySQL supported containers that you should use.
Source: https://habr.com/ru/post/1547079/More articles:Why not the Nest Oauth Redirect API? - nest-apiIs it possible to add and remove $ http hooks at runtime? - angularjsHow to get constexpr variable as a dimension for declaring an (inline) array? - c ++Chrome JS profiler and warnings "Not optimized: built-in crash" - javascriptBest practice for using ssh key pairs with different groups? - securityUsing the Dapper extensions, you can get identifiers when inserting IEnumerable - c #Disabling red error in Qt Creator - c ++Java: почему у Array.length нет(), но String.length() делает? - javaHow to add some cool names to a fullcalendar event object and delete using a single specified class name - javascriptПреобразование числа из базы 10 в N - javaAll Articles