Docker Community Forums

Share and learn in the Docker community.

Daemon fails to mkdir /mnt read only file system FATA0232

(Anthony R. Colombo) #1

So I am attempting to create a 7GB docker image and it fails after the build context is initiated.

essentially, I’ve been struggling with the large image I’ve created. so i’ve gzipped as much as I can. and used boot2docker destroy, and rebuilt a 60GB space with 6GB memory boot2docker VM. After creatign a new boot2docker VM, I am re-running docker build, and encountering the following error:

Sending build context to Docker daemon 7.176 GBB
Sending build context to Docker daemon
FATA[0232] Error response from daemon: mkdir /mnt/sda1/var/lib/docker/tmp/docker-build930388245: read-only file system

nrt3509-1:docker_kallisto stephencapone$ docker version
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS/Arch (client): darwin/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 7c8fca2
OS/Arch (server): linux/amd64

from the boot2docker ssh , /var/log of the docker.log here is the tail of my log

time=“2015-05-14T05:45:53Z” level=info msg="-job acceptconnections() = OK (0)"
time=“2015-05-14T05:45:53Z” level=info msg="Daemon has completed initialization"
time=“2015-05-14T05:46:18Z” level=debug msg="Calling GET /version"
time=“2015-05-14T05:46:18Z” level=info msg=“GET /v1.18/version"
time=“2015-05-14T05:46:18Z” level=info msg=”+job version()“
time=“2015-05-14T05:46:18Z” level=info msg=”-job version() = OK (0)"
time=“2015-05-14T05:46:59Z” level=debug msg=“Calling POST /build"
time=“2015-05-14T05:46:59Z” level=info msg=“POST /v1.18/build?cpusetcpus=&cpushares=0&dockerfile=Dockerfile&memory=0&memswap=0&rm=1&t=arcolombo%2Fartemis%3Av1"
time=“2015-05-14T05:46:59Z” level=info msg=”+job build()”

advice? I am not sure where to troubleshoot this. I’ve rebooted my machine, deleted all images. Previously this afternoon, my docker build command successfully read my Dockerfile, now, the daemon does not process my dockerfile commands.

thank yoy