【发布时间】:2015-09-07 08:59:10
【问题描述】:
在 CoreOS 上使用 Docker,我有一个脚本调用:
docker exec ...
这在 CoreOS 上运行良好,但我也想在 CircleCI 上测试它。当我尝试在 CircleCI 上运行该脚本时,我得到:
time="2015-06-22T01:14:51Z" level=fatal msg="Error response from daemon: Unsupported: Exec is not supported by the lxc driver" ./tests/run.sh returned exit code 1
Here are the test results on CircleCI.
我尝试将docker exec 更改为docker --exec-driver native exec,但是我不完全确定“驱动程序”是什么,如何更改它,或者是否可以或需要这样做。
解决此错误的最佳做法是什么?
【问题讨论】:
-
这仍然是一个问题。如果你绝对需要 exec,你 Travis CI 支持它。