Tools, FAQ, Tutorials:
"docker container list" - List Container Command
How to list containers on the Docker Engine with "docker container list" command?
✍: FYIcenter.com
The "docker container list" command allows you to list containers
that are on the Docker engine.
Here is a list of options supported by "docker container list":
fyicenter$ docker container list --help Usage: docker container ls [OPTIONS] List containers Aliases: ls, ps, list Options: -a, --all Show all containers (default shows just running) -f, --filter filter Filter output based on conditions provided --format string Pretty-print containers using a Go template -n, --last int Show n last created containers (includes all states) (default -1) -l, --latest Show the latest created container (includes all states) --no-trunc Don't truncate output -q, --quiet Only display numeric IDs -s, --size Display total file sizes
The "docker container list" command without any option shows only containers that are currently running. If you want to see containers of other statuses, use "docker container list --all".
The "docker container list" command can also be shortened as "docker ps".
⇒ "docker container list --all" - List All Containers
⇐ "docker container ..." - Manage Containers
2023-03-28, 1503🔥, 0💬
Popular Posts:
What are "*..." and "**..." Wildcard Parameters in Function Definitions? If you want to define a fun...
How To Open Standard Output as a File Handle in PHP? If you want to open the standard output as a fi...
How To Merge Cells in a Column? If you want to merge multiple cells vertically in a row, you need to...
What's Wrong with "while ($c=fgetc($f)) {}" in PHP? If you are using "while ($c=fgetc($f)) {}" to lo...
How to add images to my EPUB books Images can be added into book content using the XHTML "img" eleme...