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.

  • Docker image behaves different on different machines
  • Dockerfile: Permission denied during build when running ssh-agent on /tmp
  • Cloudfront returning 502 errors
  • Docker container connect to MySQL database locally -> redirect to another container
  • Docker mysql image: periodic access denied for root
  • Docker-compose on Windows 7: how to import a db dump when using a yaml file?
  • Kubernetes - how to send request to all the minions?
  • Creating a cassandra docker image with initialized KEYSPACE and schema
  • How to ship java based web application in AWS cloud using docker
  • npm scoped packages and private registry
  • Docker: Cannot locate specified Dockerfile error
  • Initialization of schema during oracle initialization using docker file
  • 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.