machine icon indicating copy to clipboard operation
machine copied to clipboard

"machine" command name conflict

Open tlrobinson opened this issue 11 years ago • 26 comments

OS X (and I assume other BSD variants) already has a "machine" command line tool: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/machine.1.html

Probably best not to conflict with it.

tlrobinson avatar Dec 04 '14 18:12 tlrobinson

Indeed, we are aware of this, but we couldn't come up with a better name for the binary. How about something like...

  • docker-machine
  • dmachine
  • dkmachine
  • mchn
  • mach
  • dkm

What do you think?

bfirsh avatar Dec 05 '14 09:12 bfirsh

I would avoid dkm and mach, my vote goes to mchn (short and not a currently used acronym afaik)

frapposelli avatar Dec 05 '14 11:12 frapposelli

I wonder if we should have a common prefix for Docker commands... docker-machine, docker-swarm etc...

bfirsh avatar Dec 05 '14 12:12 bfirsh

It might be a solution to do it like git did. You have separated commands e.g. docker-machine, docker-swarm and the docker command will delegate to them, so that it will be possible to call either docker machine .. or docker-machine ..

leifhanack avatar Dec 05 '14 13:12 leifhanack

:+1: on what @leifhanack said

frapposelli avatar Dec 05 '14 13:12 frapposelli

I won't go for abbreviation in general. With todays shells and completion capabilities there is no need for that. My 2 cents:)

leifhanack avatar Dec 05 '14 13:12 leifhanack

Also +1 to "docker-machine", with "docker " delegating to "docker-" like git.

I think the git model of "plumbing and porcelain" could work nicely for docker too.

tlrobinson avatar Dec 05 '14 22:12 tlrobinson

what @leifhanack said

arminc avatar Dec 06 '14 10:12 arminc

+1 on what @leifhanack said. It makes things clear and easy without potentially colliding with other binaries of similar or identical names.

prologic avatar Dec 06 '14 12:12 prologic

+1 on @leifhanack using the same for all the new stuff looks like a good solution; docker-swarm, docker-machine, docker-compose

thaJeztah avatar Dec 06 '14 16:12 thaJeztah

+1 for making machine, compose and swarm subcommands of docker

eik3 avatar Dec 06 '14 19:12 eik3

+1

xh3b4sd avatar Dec 06 '14 19:12 xh3b4sd

I'd use mchn It's short, autocomplete won't pause at docker (like if docker-machine was picked).

sthulb avatar Dec 07 '14 20:12 sthulb

+1 to docker-machine as well. Any other abbreviation is up to the user to create for his/her shell/env.

pmoust avatar Dec 08 '14 09:12 pmoust

like @leifhanack and @pmoust said, I'd prefer to create my own abbreviation for my env. The subcommand docker * would be more flexible for future add ons or plugins.

gesellix avatar Dec 08 '14 09:12 gesellix

+1 for docker-machine

ndeloof avatar Dec 08 '14 16:12 ndeloof

I like Go, the language and the game, and It makes me sad googling for each of it... +1 for docker-machine, it's easy for googling, and doesn't conflict with anything.

astropanic avatar Dec 08 '14 21:12 astropanic

+1 on using a searchable term. "Chef" and "Puppet" are terrible for finding information about them. Docker itself already runs into the clothing company. docker-machine, docker-compose, etc. seem good.

johngossman avatar Dec 09 '14 18:12 johngossman

One +1 more for the git model proposed by @leifhanack

ggiamarchi avatar Dec 14 '14 21:12 ggiamarchi

Can we just rename to docker-machine now? :)

sthulb avatar Jan 22 '15 17:01 sthulb