Create Multi-Container Apps with Docker
<p><a href="https://medium.com/my-docker-journal/data-persistence-with-docker-bind-mounts-5036d2be287e" rel="noopener">Previously on this Docker journal series</a>, I had my first hands-on experience with bind mounts and how they can be used to automate app dependency installation with a single <em>docker run</em> command.</p>
<blockquote>
<p>Now it’s time to run an app consisting of multiple containers simultaneously</p>
</blockquote>
<p>This feature gave origin to the modern definition of the microservice design pattern, which is the most commonly software architecture pattern I’ve found on the field.</p>
<p>At this point, I’m aware of Docker Compose due to my experience as a software developer, but the <a href="https://docs.docker.com/get-started/07_multi_container/" rel="noopener ugc nofollow" target="_blank">tutorial</a> insists you execute some long commands first for pedagogical purposes so I’ll be doing that.</p>
<p>By the end of this part, I will have two containers: the todo app, and a MySQL database running on its own container. <strong>The app will now store item data in a MySQL database</strong>. Say goodbye to SQLite.</p>
<p><a href="https://medium.com/@the.adhd.developer/create-multi-container-apps-with-docker-33c040055b31"><strong>Read More</strong></a></p>