Docker-swarm error: read-only file system

I have been trying to set up swarm using docker-machine. I created a swarm of three VMs using virtualbox driver (swarm-master, swarm-node-00, swarm-node-01) using docker-hub token.
Here is the info:

 [peeyush@localhost ~]$ $(docker-machine_linux-amd64 env --swarm swarm-master)
[peeyush@localhost ~]$ docker info
Containers: 6
Nodes: 3
 swarm-master: 192.168.99.103:2376
  └ Containers: 2
  └ Reserved CPUs: 0 / 4
  └ Reserved Memory: 0 B / 999.9 MiB
 swarm-node-00: 192.168.99.104:2376
  └ Containers: 1
  └ Reserved CPUs: 0 / 4
  └ Reserved Memory: 0 B / 999.9 MiB
 swarm-node-01: 192.168.99.105:2376
  └ Containers: 3
  └ Reserved CPUs: 0 / 4
  └ Reserved Memory: 0 B / 999.9 MiB

Now, the when I try to run a container using this swarm, I get this error:

  • Is there any way to access a docker (nginx) container via a local url like http://mydomain.dev?
  • Link images on Docker Hub
  • Can I store npm scripts outside of package.json, to avoid forcing Docker to refresh all modules on any npm script update?
  • Docker - Replacement for `dockerd` on Mac
  • Unable to start docker service with error “Failed to start docker.service: Unit not found.”
  • Docker doesn't get 100% of the CPU
  • [peeyush@localhost ~]$ docker run busybox echo "Hello World"
    FATA[0029] Error response from daemon: Error pulling image (latest) from busybox, Mktemp failed: mkdir /mnt/sda1/var/lib/docker/graph/_tmp/2385573d8527cb02322beb23238c3d4bb1e35d4d6eec42ad0daa43b51a825eef: read-only file system 
    

    Could you please help me figure out, what exactly is wrong here?

  • Incorrect memory accounting when using tmpfs volume
  • How to install a pip package locally in Dockerfile?
  • How can I copy a Docker container's configuration when I commit an image?
  • How do I change the umask of a shared docker volume?
  • Docker - Multiple duplicate volume declarations; what happens?
  • How do you use docker-compose from a Gitlab Registry on DigitalOcean?
  • One Solution collect form web for “Docker-swarm error: read-only file system”

    This happens when the docker cannot allocate enough/any diskspace to build/run your image. It can happen while building or while running. Is your disk full? or do you need to sudo to run docker?

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.