Skip to content

Instantly share code, notes, and snippets.

@ivanmonteiro
Last active October 27, 2021 16:04
Show Gist options
  • Select an option

  • Save ivanmonteiro/975c0c80e6f2a2d7cbbbeb0be459e008 to your computer and use it in GitHub Desktop.

Select an option

Save ivanmonteiro/975c0c80e6f2a2d7cbbbeb0be459e008 to your computer and use it in GitHub Desktop.
Create a Docker Toolbox Virtualbox VM with 6 cpus, 4gb RAM and 32gb hard disk
// Creates a docker virtual machine with static ip, 8 cpus, 4GB RAM and 32GB disk size
// Using the cidr ip range to 192.168.100.1/24 should set the virtual machine's ip to 192.168.100.100 upon boot
docker-machine create -d virtualbox \
--virtualbox-cpu-count 8 \
--virtualbox-memory 4096 \
--virtualbox-disk-size "32000" \
--virtualbox-hostonly-cidr "192.168.100.1/24" \
default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment