...

/

Inspecting the Stack File: Networks and Volumes

Inspecting the Stack File: Networks and Volumes

Let's examine the secrets, networks, and volumes section of the stack file.

Stack files are identical to Compose files with a few differences at run-time. For example, Docker Compose lets you build images at run-time, but Docker Stacks don’t. Let’s look at the networking elements defined in our stack file.

Networks and networking

One of the first things Docker does when ...