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: Get http://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: Get http://192.168.59.103:2376/v1.10/containers/json?all=1: malformed HTTP response "\x15\x03\x01\x00\x02\x02"
我Google的时候,有人说要加- -tls,可我一下面这方式加了,还是不行..不知道是不是我加错地方了,还是哪配置错误,请大神帮忙...
root@boot2docker:~# docker --tls exec -ti 2e389efed617 /bin/bash
2014/11/10 05:50:44 Post https:///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 Get https:///var/run/docker.sock/v1.15/containers/json: tls: oversized record received with length 20527
这是对docker进行TCP的绑定,本人实在不确定这样绑定是否可以...希望请大神能帮忙查找查找错误;
问题:
1、我在shipyard中添加容器不成功....出现如下错误:
FATA[0000] error running container: Get http://192.168.59.103:2376/v1.10/containers/json?all=0: malformed HTTP response "\x15\x03\x01\x00\x02\x02"
2、我在访问shipyard的Web-UI的时候,速度极慢...这是不是被墙了的原因????
try with: --tls=true
The Chinese version of shipyard found a problem. When deploying containers, you cannot customize the specified nodes, and the exposed ports cannot correspond to the host ports