作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试从本教程(快速入门安装和教程)中启动docker容器:https://zuul-ci.org/docs/zuul/admin/quick-start.html#start-zuul-containers
WARNING: The no_proxy variable is not set. Defaulting to a blank string.
WARNING: The http_proxy variable is not set. Defaulting to a blank string.
Building node
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 11, in <module>
load_entry_point('docker-compose==1.17.1', 'console_scripts', 'docker-compose')()
File "/usr/lib/python2.7/dist-packages/compose/cli/main.py", line 68, in main
command()
File "/usr/lib/python2.7/dist-packages/compose/cli/main.py", line 121, in perform_command
handler(command, command_options)
File "/usr/lib/python2.7/dist-packages/compose/cli/main.py", line 952, in up
start=not no_start
File "/usr/lib/python2.7/dist-packages/compose/project.py", line 431, in up
svc.ensure_image_exists(do_build=do_build)
File "/usr/lib/python2.7/dist-packages/compose/service.py", line 318, in ensure_image_exists
self.build()
File "/usr/lib/python2.7/dist-packages/compose/service.py", line 923, in build
shmsize=parse_bytes(build_opts.get('shm_size')) if build_opts.get('shm_size') else None,
File "/usr/lib/python2.7/dist-packages/docker/api/build.py", line 238, in build
self._set_auth_headers(headers)
File "/usr/lib/python2.7/dist-packages/docker/api/build.py", line 285, in _set_auth_headers
self._auth_configs, registry
File "/usr/lib/python2.7/dist-packages/docker/auth.py", line 97, in resolve_authconfig
authconfig, registry, store_name
File "/usr/lib/python2.7/dist-packages/docker/auth.py", line 142, in _resolve_authconfig_credstore
'Credentials store error: {0}'.format(repr(e))
docker.errors.DockerException: Credentials store error: StoreError('Credentials store docker-credential-secretservice exited with "The connection is closed".',)
最佳答案
我真的不能称其为解决方案,但它帮助我摆脱了这个问题并启动了容器。
这些步骤是:
~/.docker/config.json
中,删除行"credsStore":"secretservice"
cd zuul/doc/source/admin/examples
sudo -E docker-compose up
关于docker - 启动Docker容器会产生docker-credential-secretservice:连接已关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56126794/
我正在尝试从本教程(快速入门安装和教程)中启动docker容器:https://zuul-ci.org/docs/zuul/admin/quick-start.html#start-zuul-cont
我正在尝试运行 RHEL7.6 docker-credential-secretservice 我已经安装了 wget https://github.com/docker/docker-credent
我是一名优秀的程序员,十分优秀!