作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
docker-compose version
的输出
docker-compose version 1.23.2, build 1110ad0
docker-py version: 3.7.0
CPython version: 2.7.15rc1
OpenSSL version: OpenSSL 1.1.0g 2 Nov 2017
docker version
的输出
Client:
Version: 18.09.1
API version: 1.39
Go version: go1.10.6
Git commit: 4c52b90
Built: Wed Jan 9 19:35:31 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 18.09.1
API version: 1.39 (minimum version 1.12)
Go version: go1.10.6
Git commit: 4c52b90
Built: Wed Jan 9 19:02:44 2019
OS/Arch: linux/amd64
Experimental: false
docker-compose config
的输出
services:
my-test:
image: hello-world
network_mode: bridge
version: '2.1'
root@home-bot:~/temp# docker-compose up
Pulling my-test (hello-world:)...
Traceback (most recent call last):
File "/usr/local/bin/docker-compose", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 71, in main
command()
File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 127, in perform_command
handler(command, command_options)
File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 1080, in up
to_attach = up(False)
File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 1076, in up
silent=options.get('--quiet-pull'),
File "/usr/local/lib/python2.7/dist-packages/compose/project.py", line 475, in up
svc.ensure_image_exists(do_build=do_build, silent=silent)
File "/usr/local/lib/python2.7/dist-packages/compose/service.py", line 352, in ensure_image_exists
self.pull(silent=silent)
File "/usr/local/lib/python2.7/dist-packages/compose/service.py", line 1217, in pull
return progress_stream.get_digest_from_pull(event_stream)
File "/usr/local/lib/python2.7/dist-packages/compose/progress_stream.py", line 101, in get_digest_from_pull
for event in events:
File "/usr/local/lib/python2.7/dist-packages/compose/service.py", line 1182, in _do_pull
output = self.client.pull(repo, **pull_kwargs)
File "/usr/local/lib/python2.7/dist-packages/docker/api/image.py", line 381, in pull
header = auth.get_config_header(self, registry)
File "/usr/local/lib/python2.7/dist-packages/docker/auth.py", line 48, in get_config_header
client._auth_configs, registry, credstore_env=client.credstore_env
File "/usr/local/lib/python2.7/dist-packages/docker/auth.py", line 322, in resolve_authconfig
return authconfig.resolve_authconfig(registry)
File "/usr/local/lib/python2.7/dist-packages/docker/auth.py", line 235, in resolve_authconfig
cfg = self._resolve_authconfig_credstore(registry, store_name)
File "/usr/local/lib/python2.7/dist-packages/docker/auth.py", line 262, in _resolve_authconfig_credstore
store = self._get_store_instance(credstore_name)
File "/usr/local/lib/python2.7/dist-packages/docker/auth.py", line 287, in _get_store_instance
name, environment=self._credstore_env
File "/usr/local/lib/python2.7/dist-packages/dockerpycreds/store.py", line 25, in __init__
self.program
dockerpycreds.errors.InitializationError: docker-credential-osxkeychain not installed or not available in PATH
最佳答案
我遇到过同样的问题。我仍在调查,但临时解决方法是删除您家中的 docker 配置
$ mv $HOME/.docker to_something_else
关于docker - 崩溃 docker-compose dockerpycreds.errors.InitializationError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54174047/
所以我编辑了 JUnit 测试的名称,但现在它不起作用了。相反,我得到了 Unrooted Tests: initializationError。 这是一个简单的测试。事实上,它是 JUnit 测试的
docker-compose version 的输出 docker-compose version 1.23.2, build 1110ad0 docker-py version: 3.7.0 CPy
我知道这个问题很笼统,但我没有找到任何提示说明为什么会出现此错误。在 Eclipse 窗口中看到 initializationError 的可能原因是什么?我没有得到任何有用的信息,只是一个漫长而无用
我正在尝试运行以下CucumberWithSerenity TestRunner类: import net.serenitybdd.cucumber.CucumberWithSerenity; imp
我是一名优秀的程序员,十分优秀!