Docker pull或Docker run实际上并没有做任何事情

时间:2015-03-16 13:00:26

标签: docker

我正在尝试通过厨师通过它的VM上的docker容器运行一个名为Traildash的东西(一旦我运行它,我会将它移动到AWS实例)。所以我已将docker安装到VM上,所以我告诉大厨要运行

docker run -i -d -p 80:80 \
appliedtrust/traildash

甚至

docker pull appliedtrust/traildash
虚拟机上的

,它所做的就是:

Unable to find image 'appliedtrust/traildash' locally
Pulling repository appliedtrust/traildash
2015/03/16 12:40:38 Get https://index.docker.io/v1/repositories/appliedtrust/traildash/images: x509: certificate is valid for ssl7302.cloudflare.com, *.archeagemall.co
m, *.astrubbank.com, *.billhr2847.com, *.dallasjuniorforum.org, *.goudportal.nl, *.habbinfo.info, *.hoistandcrane.com, *.jlfresno.org, *.jlknoxville.org, *.jlsantabarbara.org, *.jl
wichita.org, *.jrleagueabilene.com, *.okaygoods.com, *.pbajf.org, *.stansberryonline.com, *.unfairmovie.com, *.usepnd.com, *.vaccineinjuryhelpcenter.com, archeagemall.com, astrubba
nk.com, billhr2847.com, dallasjuniorforum.org, goudportal.nl, habbinfo.info, hoistandcrane.com, jlfresno.org, jlknoxville.org, jlsantabarbara.org, jlwichita.org, jrleagueabilene.co
m, okaygoods.com, pbajf.org, stansberryonline.com, unfairmovie.com, usepnd.com, vaccineinjuryhelpcenter.com, not index.docker.io

然后什么也没有,除非docker将文件拉到另一个目录,否则容器实际上不会启动,也不会看到任何文件被拉出来?

如何让它运行?

1 个答案:

答案 0 :(得分:1)

你做的一切都是正确的。但是如果您在EC2之外运行它(设置了IAM角色),则必须显式传递AWS信用卡和可选的其他参数。有关更多信息,请查看https://github.com/AppliedTrust/traildash#quickstart