Docker for mac access other containers

broken image

So if you want to run all of your components in containers, how can the applications talk to each other? A modern application typically consists of a few components – such as a database, a web server, or some microservices. In the real world, beyond the realm of the simple hello-world tutorial, running just one container isn’t enough for most apps. Modern apps consist of different components that need to communicate with each other. If Docker containers are isolated, then how the heck do they communicate with each other?

broken image

But now you’re struggling to understand how to run more than one container at the same time. You’ve gone through the quickstarts and you’ve run your first Docker containers.