Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

joelhandwell/dockerhost

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockerhost

Codified docker-machine via Vagrant on Windows for those who need fine-grained configurations enabling versioning and automation which is not provided via docker-machine.

Why?

Just using docker-machine do not support custom ip, and custom cpu and/or memory is possible but user need to repeatingly type command like:

docker-machine create machine-vbox --virtualbox-cpu-count "8" --virtualbox-memory "8192"

The way it codify:

clone this repo, and declare configrations like following:

Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = "joelhandwell/dockerhost"
  config.vm.provider "virtualbox" do |v|
    v.memory = 4096
    v.cpus = 4
  end
  config.vm.synced_folder ".", "/vagrant", disabled: true
  config.vm.synced_folder "C:/Users", "/c/Users"
  config.vm.network "private_network", ip: "192.168.2.193"
end

create.bat

docker-machine create --driver generic --generic-ip-address=192.168.2.193 --generic-ssh-user=vagrant --generic-ssh-key=vagrant default

and run:

vagrant up
create

What's inside:

  • Virtualbox Guest Addition 5.2.4
  • docker 17.11.0-ce
  • docker-compose 1.18.0
  • htop 2.0.1
  • ctop 0.6.1
  • netdata 1.8.1
  • jid 0.7.2

About

Codified docker-machine via Vagrant on Windows for fine-grained VM configurations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.