How can ichange a virtualbox configuration using docker-machine

Hi I have created a virtual box with certain params (number of cpus memory etc), can I change those settings anywhere without having to re-create the VM ? If I use docker-machine create then I’m going to have to re-do eveything in that image again.

  • How to make Flask serve the right content types for static files on Alpine?
  • Pull image from another Docker Machine
  • Create keyspace automatically inside docker container with cassandra
  • Cannot install packages inside docker Ubuntu image
  • Secure distribution of private keys to Docker on CoreOS
  • How to ship java development env to many workstations
  • Containers - What are their benefits, if they can't run across platform
  • Docker: An error occurred trying to connect
  • Dial tcp 127.0.0.1:55554: connectex: An attempt was made to access a socket in a way forbidden by its access permissions
  • docker hub api giving No 'Access-Control-Allow-Origin' error
  • Kubernetes - Persistent storage for PostgreSQL
  • Invoke Docker Remote API using Java
  • 2 Solutions collect form web for “How can ichange a virtualbox configuration using docker-machine”

    Yeah you can. Just load up the UI and you’ll see your docker machine VM.

    Change memory, add storage, change CPUs, etc. You need to make sure your VM is not running when you make any config changes.

    VBox

    Docker machines stores the configuration under

    ~/.docker/machine/machines/default/config.json

    You can edit the file manually and restart the vm to apply the changes.

    E.g.

    If you want to increase the base memory from 1 GB to 2 GB, change "Memory":1024 into "Memory":2048

    After you make the changes, save the file and restart the docker machine using.

    docker-machine restart <machine-name>

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.