Is there a docker image that include both mysql and python? #234
-
I hope to find a suitable image here. |
Beta Was this translation helpful? Give feedback.
Answered by
codespearhead
Mar 17, 2024
Replies: 1 comment
-
I wonder what use case would justify that combination, because it'd tightly couple the backend and the persistence layer. In other words, any change to the backend would directly impact the database instance that already has production data. Even in the pre-containerization era, the database was running elsewhere for this very reason. Either way, you can always create your own custom Dockerfile to cater to this combination, since no such image appears to exist on DockerHub. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tiangolo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wonder what use case would justify that combination, because it'd tightly couple the backend and the persistence layer.
In other words, any change to the backend would directly impact the database instance that already has production data.
Even in the pre-containerization era, the database was running elsewhere for this very reason.
Either way, you can always create your own custom Dockerfile to cater to this combination, since no such image appears to exist on DockerHub.