Expected behaviour
Building a MySQL container and populate database(s)
Actual behaviour
The container does build correctly but MySQL complains a lot about posix_fallocate()
For example:
database | 2016-05-07T10:33:39.596876Z 1 [ERROR] InnoDB: posix_fallocate(): Failed to preallocate data for file ./mysql/plugin.ibd, desired size 32768 bytes. Operating system error number 38. Check that the disk is not full or a disk quota exceeded. Make sure the file system supports this function. Some operating system error numbers are described at http://dev.mysql.com/doc/refman/5.7/en/ operating-system-error-codes.html
Information
pinata diagnose -u
OS X: version 10.11.4 (build: 15E65)
Docker.app: version v1.11.1-beta10
Running diagnostic tests:
[OK] docker-cli
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Docker logs are being collected into /tmp/20160507-122745.tar.gz
Most specific failure is: No error was detected
Your unique id is: 2F8FF0A7-6939-4EDB-A655-AE3726518CA2
Please quote this in all correspondence.
**Update**: this also happens on Docker.app: version v1.11.1-beta11, version v1.11.1-beta12 and version v1.11.1-beta13
-
minimal
docker-compose.yaml
to reproduce:version: “2”
services:
database:
image: mysql
container_name: database
ports:
- “3306:3306”
volumes
- ./database:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: test -
host distribution and version : Mac OSX 10.11.4
Steps to reproduce the behavior
- You just need to
docker-compose up
the above file