我一直在尝试使用 docker-machine 设置 swarm。我使用 docker-hub 令牌使用 virtualbox 驱动程序(swarm-master、swarm-node-00、swarm-node-01)创建了一组三个 VM。这是信息:
[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
现在,当我尝试使用这个 swarm 运行一个容器时,我得到了这个错误:
[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
你能帮我弄清楚,这里到底有什么问题吗?