【问题标题】:Cannot start container on docker compose无法在 docker compose 上启动容器
【发布时间】:2015-07-02 05:39:06
【问题描述】:

一旦我从配置文件中删除了tiger 机器。

一切都会好起来的。但我不明白老虎有什么问题。

每台机器共享同一个image

当我运行docker-compose up 时,我得到了

无法启动容器 38c203136f645a62451fbbc19bcdae0b1c31a45495e3e02588bc8182397f0e2e:[8] 系统错误:打开 /proc/self/fd:没有这样的文件或目录

- docker-compose 1.2.0

jetstar:
  mem_limit: 512m
  image: newbike/firefox-standalone
  volumes:
  - "./:/project-bird"
  ports:
  - 5902
peach:
  mem_limit: 512m
  image: newbike/firefox-standalone
  volumes:
  - "./:/project-bird"
  ports:
  - 5903
scoot:
  mem_limit: 512m
  image: newbike/firefox-standalone
  volumes:
  - "./:/project-bird"
  ports:
  - 5904
tiger:
  mem_limit: 512m
  image: newbike/firefox-standalone
  volumes:
  - "./:/project-bird"
  ports:
  - 5905
vanilla:
  mem_limit: 512m
  image: newbike/firefox-standalone
  volumes:
  - "./:/project-bird"
  ports:
  - 5906

【问题讨论】:

  • 当您尝试手动运行所有容器时,问题一直出现?

标签: docker docker-compose


【解决方案1】:

38c203136f645a62451fbbc19bcdae0b1c31a45495e3e02588bc8182397f0e2e 可能缓存在某处,需要清理。当我遇到此类问题时,我只需运行docker rm <sha>

【讨论】:

    猜你喜欢
    • 2020-01-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-09-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多