因为我需要更新版本的docker-compose,所以我也需要更新版本的docker-engine。我试过了:
before_install:
- sudo apt-get install -qq docker-engine
Configuration file '/etc/default/docker'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** docker (Y/I/N/O/D/Z) [default=N] ?
sudo apt-get remove -qq docker-engine
,但似乎没有任何作用。
最佳答案
确保使用正确的Travis CI环境Trusty beta environment。
然后查看Travis文档updating your Docker Compose here。
https://stackoverflow.com/questions/36186848/
相关文章:
docker - 重新启动docker daemon后无法启动某些容器
docker - pkgProblemResolver::Resolve生成的中断,这可能是由保留的
docker - Docker yum安装问题-无法为存储库检索metalink:epel/x86_
docker - Docker Compose YAML版本1和版本2有什么区别?
docker - dnsmasq 跨 docker 容器的奇怪行为
postgresql - 使用Docker容器和主机LAN的Postgres网络
jenkins - 使用具有马拉松和Mesos的持久卷在docker内部运行jenkins的权限错误