mirror of https://github.com/docker/docs.git
				
				
				
			
		
			
				
	
	
		
			72 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
			
		
		
	
	
			72 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
command: docker container stats
 | 
						|
aliases: docker container stats, docker stats
 | 
						|
short: Display a live stream of container(s) resource usage statistics
 | 
						|
long: See [docker stats](stats.md) for more information.
 | 
						|
usage: docker container stats [OPTIONS] [CONTAINER...]
 | 
						|
pname: docker container
 | 
						|
plink: docker_container.yaml
 | 
						|
options:
 | 
						|
    - option: all
 | 
						|
      shorthand: a
 | 
						|
      value_type: bool
 | 
						|
      default_value: "false"
 | 
						|
      description: Show all containers (default shows just running)
 | 
						|
      deprecated: false
 | 
						|
      hidden: false
 | 
						|
      experimental: false
 | 
						|
      experimentalcli: false
 | 
						|
      kubernetes: false
 | 
						|
      swarm: false
 | 
						|
    - option: format
 | 
						|
      value_type: string
 | 
						|
      description: |-
 | 
						|
        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        
 | 
						|
      deprecated: false
 | 
						|
      hidden: false
 | 
						|
      experimental: false
 | 
						|
      experimentalcli: false
 | 
						|
      kubernetes: false
 | 
						|
      swarm: false
 | 
						|
    - option: no-stream
 | 
						|
      value_type: bool
 | 
						|
      default_value: "false"
 | 
						|
      description: Disable streaming stats and only pull the first result
 | 
						|
      deprecated: false
 | 
						|
      hidden: false
 | 
						|
      experimental: false
 | 
						|
      experimentalcli: false
 | 
						|
      kubernetes: false
 | 
						|
      swarm: false
 | 
						|
    - option: no-trunc
 | 
						|
      value_type: bool
 | 
						|
      default_value: "false"
 | 
						|
      description: Do not truncate output
 | 
						|
      deprecated: false
 | 
						|
      hidden: false
 | 
						|
      experimental: false
 | 
						|
      experimentalcli: false
 | 
						|
      kubernetes: false
 | 
						|
      swarm: false
 | 
						|
inherited_options:
 | 
						|
    - option: help
 | 
						|
      value_type: bool
 | 
						|
      default_value: "false"
 | 
						|
      description: Print usage
 | 
						|
      deprecated: false
 | 
						|
      hidden: true
 | 
						|
      experimental: false
 | 
						|
      experimentalcli: false
 | 
						|
      kubernetes: false
 | 
						|
      swarm: false
 | 
						|
deprecated: false
 | 
						|
experimental: false
 | 
						|
experimentalcli: false
 | 
						|
kubernetes: false
 | 
						|
swarm: false
 | 
						|
 |