在Travis build上安装更高版本的docker引擎
因为我需要更新版本的docker compose,所以我还需要更新版本的docker引擎。我试过:在Travis build上安装更高版本的docker引擎,docker,installation,automated-tests,build-automation,travis-ci,Docker,Installation,Automated Tests,Build Automation,Travis Ci,因为我需要更新版本的docker compose,所以我还需要更新版本的docker引擎。我试过: before_install: - sudo apt-get install -qq docker-engine 但是,在出现以下提示时,生成被卡住: Configuration file '/etc/default/docker' ==> Modified (by you or by a script) since installation. ==> Package dis
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] ?
如何使其保持旧版本而不阻塞?(或者我应该接受新版本吗?我猜特拉维斯·CI正在做一些事情……)
我首先尝试了
sudo apt get remove-qq-docker引擎,但似乎什么都没做。确保您使用的是正确的Travis CI环境
然后查看Travis文档以了解更多信息。尝试--yes
或--no
。看看Travis使用哪些选项从apt get安装软件包sudo apt get install--yes-qq docker引擎
只跳过“是否要安装”提示,而不跳过配置文件提示。