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 Compose - one specific container randomly doesn't start properly
  • Graylog docker container only binds when it listens to 0.0.0.0 and not 127.0.0.1?
  • Docker PHP / Apache Container - Sendmail 553 Error “Domain of Sender Address does not exist” when trying to send mail
  • Can Jprofile connect to JVM running in docker
  • Licensing in Docker containers
  • Docker build argument
  • How do I automate two layers of SSH plus a docker exec?
  • Docker and XDebug not reading breakpoints VSCode
  • Downloading file from S3 using boto3 inside Docker fails
  • How to create populated MySQL Docker Image on build time
  • persist mtu settings on boot2docker / docker-machine
  • Why the docker container memory usage doesn't decrease?
  • 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.