O'Reilly logo

Go Web Development Cookbook by Arpit Aggarwal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works…

Verify whether the Docker container has been created and is running successfully by executing the following command:

$ docker ps

This will render the following output:

Browsing http://localhost:8090/ as will give us the machine IP, hostname, port, and current database details as the response:

Moreover, inspecting my-bridge-network again will show us the mysql-container and web-application-container details in the Containers section, as follows:

$ docker network inspect my-bridge-network[  {    "Name": "my-bridge-network", "Id": "325bca66cc2ccb98fb6044b1da90ed4b6b0 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required