/var/log/seiji

18 Jul 2014

boot2docker memory assignment

boot2docker memory assignment

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
$ boot2docker info | jq .
{
  "SerialFile": "/Users/seiji/.boot2docker/boot2docker-vm.sock",
  "SSHPort": 2022,
  "DockerPort": 2375,
  "BootOrder": null,
  "Flag": 0,
  "OSType": "",
  "Name": "boot2docker-vm",
  "UUID": "12755ff4-b054-4a87-81cc-f4ce041f8fd8",
  "State": "running",
  "CPUs": 4,
  "Memory": 2048,
  "VRAM": 8,
  "CfgFile": "/Users/seiji/VirtualBox VMs/boot2docker-vm/boot2docker-vm.vbox",
  "BaseFolder": "/Users/seiji/VirtualBox VMs/boot2docker-vm"
}

$ boot2docker destroy
$ boot2docker init -m 4096
$ boot2docker info | jq .
{
  "SerialFile": "/Users/seiji/.boot2docker/boot2docker-vm.sock",
  "SSHPort": 2022,
  "DockerPort": 2375,
  "BootOrder": null,
  "Flag": 0,
  "OSType": "",
  "Name": "boot2docker-vm",
  "UUID": "56ff7f05-746b-46b5-8e1c-f9c1f61e5b1b",
  "State": "poweroff",
  "CPUs": 4,
  "Memory": 4096,
  "VRAM": 8,
  "CfgFile": "/Users/seiji/VirtualBox VMs/boot2docker-vm/boot2docker-vm.vbox",
  "BaseFolder": "/Users/seiji/VirtualBox VMs/boot2docker-vm"
}

Comments

comments powered by Disqus