I'm trying to set up a dev environment on OS X, following the instructions. boot2docker seems to have worked and so does `docker run -i -t ubuntu /bin/bash`.
But `sudo make build` fails with "Post http:///var/run/docker.sock/build?rm=1&t=docker%3Amaster: dial unix /var/run/docker.sock: no such file or directory".
I've tried with $DOCKER_HOST set to tcp://127.0.0.1:4243 and also with it set to tcp://localhost:4243 in case there is some subtle difference, but I get the same failure either way.
Am I supposed to be running the build inside the VM or what?
#!/bin/sh
make 'BINDIR=bundles' 'DOCKER_MOUNT=-v /home/docker/bundles:/go/src/github.com/dotcloud/docker/bundles' cross
DARWIN_AMD64=bundles/$(cat VERSION)/cross/darwin/amd64
mkdir -p $DARWIN_AMD64
scp -r -P 2022 docker@localhost:~/$DARWIN_AMD64 $(dirname "$DARWIN_AMD64")
jon.
Glyn,Is there a reason why you are trying to run it with 'sudo'? I just run the make directly. This will then fire up a docker container to run the actual build, so there is no really good reason to run it as OSX root.
I have been using this bash script to launch the build because the build results don't end up in the OSX bundles directory because of the well-known issues regarding volume sharing with the OSX client. I have also had problems with the integration tests failing, I think because the boot2docker vm runs out of disk space, but I haven't got to the bottom of that yet.
--
You received this message because you are subscribed to the Google Groups "docker-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to docker-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
`make test` ran out of space during one of the integration tests. I'll see if I can increase the disk size of the boot2docker VM. Assuming that `make test` works for you, it's odd that Jon and I see a different behaviour - maybe the VM disk size or the test behaviour is somehow dependent on the environment.
--- FAIL: TestBuild (15.75 seconds)
buildfile_test.go:363: Error VFS copying directory: exit status 1 (cp: error writing '/tmp/docker-testf285-newTestEngine-466699094/vfs/dir/76dff02550498b17409067f0597092f3b21ee43049d29080999c5864abfeacd1-init/bin/busybox': No space left on device
cp: failed to extend '/tmp/docker-testf285-newTestEngine-466699094/vfs/dir/76dff02550498b17409067f0597092f3b21ee43049d29080999c5864abfeacd1-init/bin/busybox': No space left on device
cp: error writing '/tmp/docker-testf285-newTestEngine-466699094/vfs/dir/76dff02550498b17409067f0597092f3b21ee43049d29080999c5864abfeacd1-init/bin/init': No space left on device
cp: failed to extend '/tmp/docker-testf285-newTestEngine-466699094/vfs/dir/76dff02550498b17409067f0597092f3b21ee43049d29080999c5864abfeacd1-init/bin/init': No space left on device
cp: error writing '/tmp/docker-testf285-newTestEngine-466699094/vfs/dir/76dff02550498b17409067f0597092f3b21ee43049d29080999c5864abfeacd1-init/bin/socat': No space left on device
cp: failed to extend '/tmp/docker-testf285-newTestEngine-466699094/vfs/dir/76dff02550498b17409067f0597092f3b21ee43049d29080999c5864abfeacd1-init/bin/socat': No space left on device
cp: error writing '/tmp/docker-testf285-newTestEngine-466699094/vfs/dir/76dff02550498b17409067f0597092f3b21ee43049d29080999c5864abfeacd1-init/etc/nsswitch.conf': No space left on device
cp: failed to extend '/tmp/docker-testf285-newTestEngine-466699094/vfs/dir/76dff02550498b17409067f0597092f3b21ee43049d29080999c5864abfeacd1-init/etc/nsswitch.conf': No space left on device
cp: error writing '/tmp/docker-testf285-newTestEngine-466699094/vfs/dir/76dff02550498b17409067f0597092f3b21ee43049d29080999c5864abfeacd1-init/etc/group': No space left on device
cp: failed to extend '/tmp/docker-testf285-newTestEngine-466699094/vfs/dir/76dff02550498b17409067f0597092f3b21ee43049d29080999c5864abfeacd1-init/etc/group': No space left on device
cp: error writing '/tmp/docker-testf285-newTestEngine-466699094/vfs/dir/76dff02550498b17409067f0597092f3b21ee43049d29080999c5864abfeacd1-init/etc/passwd': No space left on device
cp: failed to extend '/tmp/docker-testf285-newTestEngine-466699094/vfs/dir/76dff02550498b17409067f0597092f3b21ee43049d29080999c5864abfeacd1-init/etc/passwd': No space left on device
)
Bug raised: https://github.com/dotcloud/docker/issues/6331