-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need more info on behaviour and usage of stateful containers #27591
Comments
@mcintyre321 Thank you for your feedback . We will investigate and update this thread. |
@mcintyre321 , We recommend to use Azure SQL/Azure DB for MySQL to customers. |
In your samples there are application with mysql and redis containers. Are
these samples there to demonstrate what can be done, rather than what
should be done?
…On Mon, 25 Mar 2019, 12:23 DashleenBhandari-MSFT, ***@***.***> wrote:
@mcintyre321 <https://github.com/mcintyre321> , We recommend to use Azure
SQL/Azure DB for MySQL to customers.
There are a lot of articles explaining the problems you might face (for
example https://vsupalov.com/database-in-docker ) and why you should not
run PROD DBs in a container (specially if you use a Container Orchestrator
that might move your containers around)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#27591 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAQ0-kJRx0fBFH8ggUaIVYclC3bcTuWLks5vaL_MgaJpZM4b-3VE>
.
|
Now I'm confused. Your colleague @DashleenBhandari-MSFT says "you should not run PROD DBs in a container", but you suggest the mysql container is prod ready? How is the mysql container data persisted? It looks like tutorial says how to back the wp container is backed by disk, but not the mysql instance (or am i missing something?) |
Thanks - it would be good to have some explicit text describing the lifecycle of the containers, so that we can make judgements about which containers it is sensible to run, and which should be replaced by PAAS, or backed by disk. Also some information about how the containers will interact (or not) in multi-instance app services. E.g. Redis is less useful than in a distributed setup if you have a single, non-persistent instance per web server. |
#please-close |
It's a bit unclear how a container which requires persistent state (e.g. a sql container) will behave - will the data be stored in a permanent fashion anywhere? How would one go about backing up the data from an instance like this?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: