Skip to content

Instantly share code, notes, and snippets.

@handakumbura
Last active September 23, 2017 11:42
Show Gist options
  • Save handakumbura/6080ecb062772d15cb8610840613c3b0 to your computer and use it in GitHub Desktop.
Save handakumbura/6080ecb062772d15cb8610840613c3b0 to your computer and use it in GitHub Desktop.
KT article five 1
docker-machine create --driver=virtualbox registrybox
docker-machine create --driver=virtualbox --engine-insecure-registry registrybox:5000 swarmmanager1
docker-machine create --driver=virtualbox --engine-insecure-registry registrybox:5000 worker1
docker-machine ssh registrybox docker run -d -p 5000:5000 registry:2
docker-machine ls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment