Answers for "Networks"

0

Networks

# Remove network by name or ID.
docker network rm my_network2
docker network rm 6466079abd47
Posted by: Guest on October-20-2021
0

Networks

# Remove unused networks.
docker network prune

# Force prune  using "-f" or "--force".
docker network prune -f
docker network prune --force
Posted by: Guest on October-20-2021
0

Networks

# List all networks.
docker network ls

# Filter output using "-f" or "--filter".
docker network ls -f "driver=bridge"
docker network ls --filter "driver=bridge"

# Display only network ID using "-q" or "--quiet".
docker network ls -q -f "driver=bridge"
docker network ls --quiet --filter "driver=bridge"
Posted by: Guest on October-20-2021

Code answers related to "Networks"

Browse Popular Code Answers by Language