Hi guys
I’m new to docker and I struggling to find a way to increase docker-machine VM size.
I wanted to add another container but that failed due to insufficient space. So I wanted to add more space to the VM & I created another virtual disk, but still was unable to create the desired container.
Next I tried to create another VM with increased space approx 50 Gb, but I’m unable to make that VM(i.e second) active.
PS C:\Program Files\Docker Toolbox> docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DO
CKER ERRORS
default * virtualbox Running tcp://192.168.99.100:2376 v1
7.06.0-ce
second - virtualbox Running tcp://192.168.99.101:2376 v1
7.09.0-ce
PS C:\Program Files\Docker Toolbox> docker-machine active
default
PS C:\Program Files\Docker Toolbox>
PS C:\Program Files\Docker Toolbox> docker info default
“docker info” accepts no argument(s).
See ‘docker info --help’.
Usage: docker info [OPTIONS]
Display system-wide information
PS C:\Program Files\Docker Toolbox> docker info
Containers: 14
Running: 0
Paused: 0
Stopped: 14
Images: 18
Server Version: 17.06.0-ce
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 253
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: cfb82a876ecc11b5ca0977d1733adbe58599088a
runc version: 2d41c047c83e09a6d61d464906feb2a2f3c52aa4
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.4.74-boot2docker
Operating System: Boot2Docker 17.06.0-ce (TCL 7.2); HEAD : 0672754 - Thu Jun 29
00:06:31 UTC 2017
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.955GiB
Name: default
ID: EBNR:NUBE:JJWK:JY4N:VNTK:GJLJ:2ZJC:SQ4Y:DN3V:TS4H:SVKQ:OVZV
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 17
Goroutines: 27
System Time: 2017-10-04T04:23:44.086275119Z
EventsListeners: 1
Registry: https://index.docker.io/v1/
Labels:
provider=virtualbox
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
I’m using Windows 7; Kitematic alpha & Virtual Box drivers.
What I want to achieve is to be able to add more containers to docker either by adjusting VM size or switching to a different docker-machine.
Cheers
PS C:\Program Files\Docker Toolbox>