docker / machine

Machine management for a container-centric world
https://docs.docker.com/machine/
Apache License 2.0
6.63k stars 1.96k forks source link

Put emphasis on the `--swarm` option in the documentation #2977

Open rjcorwin opened 8 years ago

rjcorwin commented 8 years ago

After hours of trying to figure out what was wrong... things slowly clicked how this is all tied together.... Which led me back to the documentation, this line in the docs...

eval $(docker-machine env --swarm swarm-master)

I was thinking "wait a minute, if you have to point your environment to an instance of docker server and that server is running inside of a machine in a container with no port mapping, how the heck could it ever connect??? Oooooh snap. Look at that --swarm option I never noticed thus never typed thus never saw it working until right now." Face palm.

Thanks for making such a cool tool! I still don't understand how that --swarm option works...

rjcorwin commented 8 years ago

I'd be happy to make a documentation pull request. Can someone point me to where that resides? I see three repos related to docs but none of them return results when search for the article I linked to on docs.docker.com.

nathanleclaire commented 8 years ago

Look in docs folder in this repo. That's the correct location. Probably docs/reference/create.md