docker - boot2docker malformed HTTP status code "/v1.15/containers/json" -
tried re-installing boot2docker brew, getting same problem. below screen grab of commands ran. have thought can wrong?
==> checking out tag v1.3.0 ==> go -d ==> create goinstall 🍺 /usr/local/cellar/boot2docker/1.3.0: 2 files, 7.2m, built in 3 seconds ~ » boot2docker init wg@wg-macbook-pro ------------------------------------------------------------ ~ » boot2docker wg@wg-macbook-pro waiting vm , docker daemon start... .....................ooooooooooooooooo started. writing /users/wg/.boot2docker/certs/boot2docker-vm/ca.pem writing /users/wg/.boot2docker/certs/boot2docker-vm/cert.pem writing /users/wg/.boot2docker/certs/boot2docker-vm/key.pem connect docker client docker daemon, please set: export docker_cert_path=/users/wg/.boot2docker/certs/boot2docker-vm export docker_tls_verify=1 ------------------------------------------------------------ ~ » export docker_cert_path=/users/wgillmer/.boot2docker/certs/boot2docker-vm wg@wg-macbook-pro ------------------------------------------------------------ ~ » export docker_tls_verify=1 wg@wg-macbook-pro ------------------------------------------------------------ ~ » docker ps wg@wg-macbook-pro password: 2014/10/22 20:52:08 http:///var/run/docker.sock/v1.15/containers/json: malformed http status code "/v1.15/containers/json" ------------------------------------------------------------ ~ »
deleting .boot2docker directory , re-running init new download , seems give same results.
~ » boot2docker destroy wg@wg-macbook-pro ------------------------------------------------------------ ~ » rm -rfv ./.boot2docker wg@wg-macbook-pro ./.boot2docker/boot2docker.iso ./.boot2docker/certs/boot2docker-vm/ca.pem ./.boot2docker/certs/boot2docker-vm/cert.pem ./.boot2docker/certs/boot2docker-vm/key.pem ./.boot2docker/certs/boot2docker-vm ./.boot2docker/certs ./.boot2docker ------------------------------------------------------------ ~ » boot2docker init wg@wg-macbook-pro latest release boot2docker/boot2docker v1.3.0 downloading boot2docker iso image... success: downloaded https://github.com/boot2docker/boot2docker/releases/download/v1.3.0/boot2docker.iso /users/wg/.boot2docker/boot2docker.iso ------------------------------------------------------------ ~ » boot2docker wg@wg-macbook-pro waiting vm , docker daemon start... .....................ooooooooooooooooo started. writing /users/wg/.boot2docker/certs/boot2docker-vm/ca.pem writing /users/wg/.boot2docker/certs/boot2docker-vm/cert.pem writing /users/wg/.boot2docker/certs/boot2docker-vm/key.pem environment variables set correctly. ------------------------------------------------------------ ~ » docker ps wg@wg-macbook-pro password: 2014/10/22 21:04:20 http:///var/run/docker.sock/v1.15/containers/json: malformed http status code "/v1.15/containers/json" ------------------------------------------------------------ ~ »
why docker ps
asking password?
it looks docker
may aliased sudo docker
(or you're running sudo docker ps
), mean docker environment vars aren't set correctly.
see this answer total explanation.
docker boot2docker
No comments:
Post a Comment