Hacker News new | ask | show | jobs
by its-summertime 505 days ago
not author but

`cmd containers` does nothing, `cmd images` does `cmd image ls`,

`cmd rm` does `cmd container rm`, `cmd ls` does nothing, its of course `cmd ps`,

`cmd rmi`, no `cmd lsi`,

no easy way to extract the resultant hash from a `cmd build`, can use a tag I suppose

1 comments

Thank you for the examples.

Maybe I'm in the minority, but I've never used those commands... I'd rather write `docker container ls` than an obscure short-hand alias.

Funny enough, ls is short for list :)
Very true, but it's a well-known command so I wouldn't qualify it as obscure! At this point everyone expects `ls` to display a list of something.
Eye of the beholder. There's a ton of Windows folks that use docker and wouldn't have been exposed to ls before. If they used a command line at all, they're using dir on dos.

Granted, The linux subsystem stuff has expanded it's scope, but there's a few folks I know that have never touched linux and are using docker to run stuff.