SaltStack不会启动docker容器

时间:2016-05-16 05:46:16

标签: docker salt-stack

启动 salt-minion -l debug 并获取以下输出:

Traceback (most recent call last):
  File "<string>", line 420, in run_nodebug
  File "<module1>", line 11, in <module>
  File "C:\Python34\lib\tkinter\__init__.py", line 3372
  t        self.tk.call(('image', 'create', imgtype, name,) + options)
            ^
SyntaxError: invalid syntax

获得更多信息为什么无法启动容器真的很不错。有谁知道怎么做?

查看salt dockerio code&#39; out&#39; 参数似乎为空。

[DEBUG   ] Docker-io running:{'status': True, 'comment': 'Container <container_name> was started', 'id': '<container_name>', 'out': None}
[DEBUG   ] Docker-io running:False
[ERROR   ] Container '<container_name>' cannot be started

1 个答案:

答案 0 :(得分:1)

最后发现错误:

/var/lib/docker/containers/<container-id>/<container-id>-json.log