Quantcast
Channel: User spraff - Stack Overflow
Viewing all articles
Browse latest Browse all 55

How to let mysql docker start even if entrypoint scripts fail

$
0
0

I have a bunch of sql scripts in /docker-entrypoint-initdb.d/ which I am developing in a Docker container FROM ubuntu/mysql:8.0-22.04_beta

The container will not start if one of the scripts causes an error.

I want the container to continue to start even if an entrypoint script fails, then I want to get a shell in and poke around.

How can I tell it to do this?


Viewing all articles
Browse latest Browse all 55

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>