Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker images is a great alias for docker image ls, while docker volumes does not exist #4600

Open
rafaelucena opened this issue Oct 12, 2023 · 2 comments

Comments

@rafaelucena
Copy link

rafaelucena commented Oct 12, 2023

Description

Using docker for a few years now, every few months or years I like to do a cleanup on the volumes and images and start over, and it keeps bugging me that for showing the images we can run docker images but for volumes we can't use docker volumes. I'm aiming to fix that.

When wanting to list the current volumes:

docker volumes

Expected behavior

The output should be the same as:

docker volume ls

docker version

(not strictly necessary?)

docker info

(not strictly necessary?)

Additional Info

This is my first issue, please be kind (sorry)

@rafaelucena rafaelucena changed the title docker images is a great alias for docker image ls, while docker volumes ls does not exist docker images is a great alias for docker image ls, while docker volumes does not exist Oct 12, 2023
@nicks
Copy link
Contributor

nicks commented Oct 13, 2023

i think docker images is considered a legacy command. it's there for backwards compatibility and we generally discourage it. see this great comment! #887 (comment)

@rafaelucena
Copy link
Author

Yeah, @thaJeztah mentioned it on the PR and he explained it in another issue from another user also. It's a shame really, my favourite command is expect to depart :(

Well, it is what it is. Oh well, I'll probably just handle some bash aliases locally for that :)

RIP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants