Open It4lik opened 7 years ago
The original PR had a number of shortcuts, and we had a pull request to implement these separately (see https://github.com/docker/docker/pull/27468), but decided to hold off adding shortcuts because of various reasons
It's still open for discussion though, so we can consider adding some shortcuts where needed; overall we try to preserve shortcuts for the most frequently used commands, so this should be looked at carefully.
I think what we're talking about here are just aliases, not "shortcut commands" (extra commands at the top level).
Adding aliases isn't going to interfere with any custom aliases that users already have today.
I'd be happy to re-open #27468
I understand the reasons given in #27468 to not add the aliases. Regarding the sometimes raised point about it not being better than tab-completion, we don't have tab completion with Docker for Windows, so it would be a definite improvement there.
Hi,
I was tryin out docker 1.13 (and compose v3 too). It's a huuuuge step on the road to production-readiness.
I think it can be a good thing if each management commands gets aliased. I know that
docker ps
is still supported but one day, it won't be anymore and i'll be forced to typedocker container ls
which is much longer. I can do personal aliases in my.profile
or.bashrc
, of course, but this is ugly, and what will occur for production machine without any personnal account ?For instance, I think that aliases like "ct" for containers and "im" or "img" for images can be great. Like in
docker ct ls
.This is just thought/suggestion, a mini-minor improvement but that will make every user save time everyday :)
It4.