8-Docker网络命令之ls

1.ls介绍

docker网络命令ls是用来列出当前docker中默认的及自定义的网络

2.ls用法

docker network ls [参数]

[root@centos79 ~]# docker network ls --help

Usage:  docker network ls [OPTIONS]

List networks

Aliases:
  docker network ls, docker network list

Options:
  -f, --filter filter   Provide filter values (e.g. "driver=bridge")
      --format string   Format output using a custom template:
                        'table':            Print output in table format with column headers (default)
                        'table TEMPLATE':   Print output in table format using the given Go template
                        'json':             Print in JSON format
                        'TEMPLATE':         Print output using the given Go template.
                        Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates
      --no-trunc        Do not truncate the output
  -q

你可能感兴趣的:(docker,docker,容器,运维)