I’m pretty new to Docker, and I’ve been struggling with this issue for the past day or so.
We’ve got a large web application that’s a huge pain to install on a fresh machine. It’s got all kinds of weird undocumented dependencies, and I’m trying to automate as much of this as I can. I’m using Docker both to automate this process as well as hopefully migrate away from OpenSUSE toward CentOS.
Our installation procedure depends heavily on the directory structure of OpenSUSE, so I’m using OpenSUSE 13.1 as my base. The Dockerfile runs along nicely, installing nodejs, postgresql, and some other dependencies. However, there is a section in the install procedure where a bunch of source code files (around 3gb of files) are copied to various places in the file system, including /dev/shm. During this copy procedure, I start seeing all kinds of ‘no space left on device’ errors, and the build fails. I have checked, and I have plenty of free inodes and plenty of free space.
I’m not sure if I’m using the tool incorrectly or what, but we have a git repository containing all of the source as well as a Dockerfile at the top level. One of the lines in the Dockerfile calls ADD to expose the directory in the container, so the files can be copied to where they need to be. Is this incorrect?
Server Version: 1.11.1
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Network: bridge null host
Kernel Version: 4.4.0-21-generic
Operating System: Ubuntu 16.04 LTS
Total Memory: 9.371 GiB
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
WARNING: No swap limit support