Skip to content

List

dib list

List all images managed by dib

Synopsis

Command list provide different ways to print the list of all Docker images managed by dib.

The output can be customized with the --output flag : • console (default output) ex : dib list

• go-template-file (render output using a Go template) ex : dib list -o go-template-file=dib_list.tmpl

• graphviz (dot language output) ex : dib list -o graphviz

You can also generate a PNG image from the graphviz output using the following command : dib list -o graphviz | dot -Tpng > dib.png

dib list [flags]

Options

      --build-arg argument=value   argument=value to supply to the builder
  -h, --help                       help for list
  -o, --output string              Output format : console|graphviz|go-template-file (default "console")

Options inherited from parent commands

      --build-path string            Path to the directory containing all Dockerfiles to be built by dib. Every Dockerfile will be recursively 
                                     found and added to the build graph. You can provide any subdirectory if you want to focus on a reduced set of images, 
                                     as long as it has at least one Dockerfile in it. (default "docker")
      --config string                config file (default is $HOME/.config/.dib.yaml)
      --hash-list-file-path string   Path to custom hash list file that will be used to humanize hash
  -l, --log-level string             Log level. Can be any standard log-level ("info", "debug", etc...) (default "info")
      --placeholder-tag string       Tag used as placeholder in Dockerfile "from" statements, and replaced internally by dib during builds 
                                     to use the latest tags from parent images. In release mode, all images will be tagged with the placeholder tag, so 
                                     Dockerfiles are always valid (images can still be built even without using dib). (default "latest")
      --registry-url string          Docker registry URL where images are stored. (default "eu.gcr.io/my-test-repository")

SEE ALSO

  • dib - An Opinionated Docker Image Builder
Auto generated by spf13/cobra on 28-Feb-2025