Complete the command to list all Docker networks.
docker network [1]The docker network ls command lists all Docker networks on your system.
Complete the command to create a new bridge network named 'mybridge'.
docker network create --driver [1] mybridgeThe bridge driver creates a bridge network, which is the default network type in Docker.
Fix the error in the command to inspect the default bridge network.
docker network [1] bridgeThe docker network inspect command shows detailed information about a network, such as the default bridge.
Fill both blanks to create a container named 'web' attached to the default bridge network.
docker run --name [1] --network [2] -d nginx
The container is named 'web' and attached to the 'bridge' network, which is the default Docker bridge network.
Fill all three blanks to create a dictionary comprehension that maps container names to their IP addresses from a list 'containers'.
container_ips = {{ [1]: [2] for [3] in containers }}This comprehension creates a dictionary where keys are container names and values are their IP addresses, iterating over each container in 'containers'.