DEV Community

Sardorbek Imomaliev
Sardorbek Imomaliev

Posted on

TIL: Docker | Show Only Unnamed Volumes

Question

How to show only names of volumes?

Answer

Use --format.

$ docker volume ls --format '{{.Name}}'
Enter fullscreen mode Exit fullscreen mode

Links

Discussion (0)