Using shipyard’s Web-UI to add containers in docker was not successful … Pray for Gods

  docker, question

root@boot2docker:~#docker version
Client version: 1.3.0
Client API version: 1.15
Go version (client): go1.3.3
Git commit (client): c78088f
OS/Arch (client): linux/amd64
Server version: 1.3.0
Server API version: 1.15
Go version (server): go1.3.3
Git commit (server): c78088f
root@boot2docker:~#

=======================================================

shipyard cli> shipyard run –name centos:latest –cpus 1.0 –memory 256 –type service –hostname=essa.com –domain essa.com –env FOO=bar –label dev –pull
FATA[0000] error running container: Gethttp://192.168.59.103:2376/v1.10/containers/json? all=0: malformed HTTP response “\x15\x03\x01\x00\x02\x02”

shipyard cli> shipyard containers
FATA[0000] error getting containers: Gethttp://192.168.59.103:2376/v1.10/containers/json? all=1: malformed HTTP response “\x15\x03\x01\x00\x02\x02”

When I was Google, some people said to add–tls, but once I added it this way, I still couldn’t .. I don’t know if I added the wrong place, or which configuration is wrong, please ask the great god for help …

root@boot2docker:~# docker –tls exec -ti 2e389efed617 /bin/bash
2014/11/10 05:50:44 Posthttps:///var/run/docker.sock/v1.15/containers/2e389efed617/exec: tls: oversized record received with length 20527
root@boot2docker:~# docker –tls ps
2014/11/10 05:52:45 Gethttps:///var/run/docker.sock/v1.15/containers/json: tls: oversized record received with length 20527

This is a TCP binding for docker. I am really not sure if this binding is possible … I hope that Great Spirit can help me find out the error.
图片描述

图片描述

Question:
1. I failed to add containers to shipyard …. The following error occurred:
FATA[0000] error running container: Gethttp://192.168.59.103:2376/v1.10/containers/json? all=0: malformed HTTP response “\x15\x03\x01\x00\x02\x02”
2. When I visited Webb-UI of shipyard, the speed was extremely slow … Is this the reason why it was blocked? ? ? ?

try with: –tls=true