Docker + Drupal 8 in production

I have a Drupal 8 application and I’m interested in deploying it via a Docker container but am looking for a little guidance from folks who’re deploying Docker in production environments.

I assume I would pull the “official” Drupal image from the Docker Hub, then in the Dockerfile write lines to import my Git repo and copy the assets over, then link up an active database, but the particulars escape me.

Virtually all the tutorials I see online involve setting up a local Docker instance for testing purposes only, is there an example I can see or some how-to guide on production Docker, specifically overlaying customizations from a base image?

Thanks.

1 Like