【Docker】在docker中使用shipyard的Web-UI添加容器不成功...求大神

[email protected]:~# 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
[email protected]:~#

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

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,可我一下面这方式加了,还是不行..不知道是不是我加错地方了,还是哪配置错误,请大神帮忙...

[email protected]:~# 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
[email protected]:~# 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的绑定,本人实在不确定这样绑定是否可以...希望请大神能帮忙查找查找错误;
【Docker】在docker中使用shipyard的Web-UI添加容器不成功...求大神

【Docker】在docker中使用shipyard的Web-UI添加容器不成功...求大神

问题:

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

shipyard中文版发现一个问题,布署容器时不能自定义指定节点,暴露端口不能对应宿主机端口

以上是 【Docker】在docker中使用shipyard的Web-UI添加容器不成功...求大神 的全部内容, 来源链接: utcz.com/a/77280.html

回到顶部