Home > other >  No free space on the device
No free space on the device

Time:09-24

Environment: Mac machine 1 TB HDD
Boot2docker 1.3.2
Docker 500 m more than 10 image, ran 5 container
The mirror when the official version of MySQL, (docker pull MySQL)

Problem: when running MySQL reported No free space on the device ERRORCODE: 28

Check list:
Df -h after seeing with less than 10% actually I don't know wrong no results won't start MySQL or start

Localhost: ~ XXXX $boot2docker info
{
"Name" : "boot2docker - vm,"
"UUID: c5ba2ee0 - d063-4645-9 ca5 - bb321f8b5942",
"Iso" : "//Users/XXXX. Boot2docker/boot2docker. Iso",
"State" : "running,"
"CPUs" : 4,
"Memory" : 2048,
"VRAM" : 8,
"CfgFile" : "/Users/XXXX VirtualBox VMs/boot2docker - vm/boot2docker - vm. Vbox",
"BaseFolder" : "/Users/XXXX VirtualBox VMs/boot2docker - vm",
"OSType" : ", "
"Flag" : 0,
"BootOrder" : null,
"DockerPort" : 0,
"SSHPort" : 2022,
"SerialFile" : "//Users/XXXX. Boot2docker/boot2docker - vm. The sock"
}
Localhost: ~ XXXX $df -h
The Filesystem Size, informs the Avail Capacity iused ifree % iused Mounted on
/dev/disk1 gi gi gi 865 65 930 7% 17131919 226760303 7%/
Would 184 ki ki 184 636 0 0 bi 100% 100%/dev
The map - hosts bi bi bi 0 0 0 0 100% 0 100%/.net
The map auto_home bi bi bi 0 0 0 0 100% 0 100%/home


Hard drive less sure enough just VM initialization, increase the room, now see this https://docs.docker.com/articles/b2d_volume_resize/has a solution, but behind the GParted part in Mac half didn't mount,

CodePudding user response:



Df -h

Look at the specific partitions,
This is one of the


Second:

Df -i

May be this is full,

CodePudding user response:

Use LVM, as far as possible to dynamically extend space, and had no effect on hard disk

CodePudding user response:

/home - & gt; 100%?

CodePudding user response:

Could you pull up the docker daemon didn't specify when the data size, the default docker data stored data size is 100 g, rootfs size of 10 g, can adjust the size themselves by setting the LVM or quota
  • Related