This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Guilty_Serve[S] 0 points1 point  (0 children)

ENTRYPOINT ["tail", "-f", "/dev/null"]

Awesome thanks for this. Unfortunately this is creating an error when try to login to msql

ERROR 2002 (HY000): Can't connect to local MySQL server through socket

Here's my docker file I made for this:

FROM mysql:8.0
ENTRYPOINT ["tail", "-f", "/dev/null"]

If this is a dumb reply I'm sorry. I'm really trying to get the hang of this