I am running boo2docker on Osx. I need api for my project but for some reason I got empty response for any request:
http://192.168.59.103:2376/images/json returns empty json file.
This is my export:
DOCKER_CERT_PATH=/Users/johnny/.boot2docker/certs/boot2docker-vm
DOCKER_HOST=tcp://192.168.59.103:2376
DOCKER_TLS_VERIFY=1
from boot2docker shell:
export DOCKER_HOST=tcp://192.168.59.103:2376
export DOCKER_CERT_PATH=/Users/johnny/.boot2docker/certs/boot2docker-vm
export DOCKER_TLS_VERIFY=1
I have lot of images on docker images:
debian latest 479215127fa7 13 days ago 84.99 MB
debian wheezy 479215127fa7 13 days ago 84.99 MB
postgres 9.4-rc1 d8c1fb73883a 7 weeks ago 214.3 MB
postgres 9.4-beta3 3edc3fed055f 9 weeks ago 214 MB
.....
One more thing /var/run/docker.sock file does not exists (sudo find / -name docker.sock return nothing).
So when I do echo -e “GET /images/json HTTP/1.0\r\n” | nc -U /var/run/docker.sock nothing is returned.
boot2docker config gives me this
# boot2docker profile filename: /Users/johnny/.boot2docker/profile
Init = false
Verbose = false
Driver = "virtualbox"
Clobber = true
ForceUpgradeDownload = false
SSH = "ssh"
SSHGen = "ssh-keygen"
SSHKey = "/Users/johnny/.ssh/id_boot2docker"
VM = "boot2docker-vm"
Dir = "/Users/johnny/.boot2docker"
ISOURL = "https://api.github.com/repos/boot2docker/boot2docker/releases"
ISO = "/Users/johnny/.boot2docker/boot2docker.iso"
DiskSize = 20000
Memory = 2048
SSHPort = 2022
DockerPort = 0
HostIP = "192.168.59.3"
DHCPIP = "192.168.59.99"
NetMask = [255, 255, 255, 0]
LowerIP = "192.168.59.103"
UpperIP = "192.168.59.254"
DHCPEnabled = true
Serial = false
SerialFile = "/Users/johnny/.boot2docker/boot2docker-vm.sock"
Waittime = 300
Retries = 75
/Users/johnny/.boot2docker/boot2docker-vm.sock is also empty.
Can anyone help me with this?
UPDATE: funny thing when I run tobegit3hub/seagull i can see all containers and images.