“Redes” Código de respuesta

Redes

# 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"
Excited Eland

Redes

# Remove unused networks.
docker network prune

# Force prune  using "-f" or "--force".
docker network prune -f
docker network prune --force
Excited Eland

Redes

# Remove network by name or ID.
docker network rm my_network2
docker network rm 6466079abd47
Excited Eland

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código