Skip to content
This repository was archived by the owner on Jul 24, 2018. It is now read-only.

AkihiroSuda/multidocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multidocker

Build Status Go Report Card

Multidocker enables multiple Docker daemons on a single machine. No VM is required.

I made this tool so that I can easily and quickly try the latest Docker bundle.

WARNING: Running multiple Docker daemons is not fully supported. See also: docker/docker#22763

How to install

$ go install github.com/AkihiroSuda/multidocker/cmd/multidocker

Binary release will be available soon.

Usage

Supported Docker Engine version: 1.12 or later

$ cd ~/WORK
$ git clone https://github.com/docker/docker.git
$ cd docker
$ make

$ sudo $GOPATH/bin/multidocker create --engine-install-bundle=$HOME/WORK/docker/bundles/latest --engine-storage-driver aufs foobar
$ eval $(multidocker env --set-client-path foobar)
$ docker info

Note (incompatible to Docker Machine):

  • multidocker create copies the binaries under the bundle directory specified in --engine-install-bundle to /var/lib/multidocker/hosts/foobar/bin.
  • eval $(multidocker env --set-client-path foobar) sets PATH to /var/lib/multidocker/hosts/foobar/bin:$PATH.

TODO

  • Support Docker <= 1.11
  • Support dynbinary-daemon
  • Support more installation options (e.g. --engine-install-release=1.xx?)
  • Support Swarm?
  • Support Windows?
  • Support UML kernel for ease of testing multiple kernels? (Maybe it should be docker-machine-driver-uml?)
  • Reimplement as a Docker Machine driver? (requires docker/machine#2822 to be implemented)

Related tools

About

🐳 🐳 🐳 Multiple Docker daemons on a single machine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages