Database integrity with Docker

I’m a little (read: very) new to Docker and am trying to wrap my head around how dev ops works with it.

I’ve enjoyed using classic C66 in the past where I could keep my db on a separate server from the rest of the site.

How does this work when doing Docker deploys, doesn’t everything get put into one container, code, db, config and all?


Your code will be in a container when using docker stacks! If you add a database via the UI or manifest file it will be installed on a server which can be the same as the one your container is on, or on a separate one. Either way it won’t be a container it will be installed on the server.

You must be logged in to answer this question