Complete the command to create a Docker network named 'frontend'.
docker network create [1]The command docker network create frontend creates a new network named 'frontend'.
Complete the command to run a container named 'webapp' attached to the 'frontend' network.
docker run -d --name webapp --network [1] nginxThe --network frontend option connects the container to the 'frontend' network.
Fix the error in the command to connect the running container 'webapp' to the 'backend' network.
docker network connect [1] webappThe correct command is docker network connect backend webapp to connect the container to the 'backend' network.
Fill both blanks to list all networks a container named 'db' is connected to.
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}} [1] {{end}}' [2]
The command uses .IPAddress to show IP addresses of networks connected to the container named 'db'.
Fill all three blanks to create a container 'app' connected to 'frontend' and then connect it to 'backend'.
docker run -d --name [1] --network [2] nginx && docker network connect [3] [1]
This sequence runs a container named 'app' on the 'frontend' network, then connects it to the 'backend' network.