Список кухни с использованием Docker Desktop не запускается
Я пытаюсь настроить тестовую кухню с помощью Docker Desktop, но почему-то она не запускается.
Время ожидания команды списка кухни истекло.
PS C:\chef-repo\cookbooks\apache> список кухни C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/docker-api-2.2.0/lib/docker/connection .rb:91:вrescue in request': connect_write timeout reached (Docker::Error::TimeoutError) from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/docker-api-2.2.0/lib/docker/connection.rb:44:in
запрос» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/docker-api-2.2.0/lib/docker/connection.rb:109:in info» из C: /opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/docker-api-2.2.0/lib/docker.rb:114:in docker_info' из C:/opscode/chef-workstation/ Embedded/lib/ruby/gems/3.1.0/gems/kitchen-dokken-2.19.1/lib/kitchen/driver/dokken.rb:48:в модуле:Driver' из C:/opscode/chef-workstation/embedded /lib/ruby/gems/3.1.0/gems/kitchen-dokken-2.19.1/lib/kitchen/driver/dokken.rb:32:in <top (обязательно)>'
из внутреннего:C:/opscode/chef -workstation/embedded/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb:85:in require' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/ test-kitchen-3.5.0/lib/kitchen/plugin.rb:35:in for_plugin' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5 .0/lib/kitchen/config.rb:235:in new_instance' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/ Kitchen/config.rb:143:in Map' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/config.rb :142:в build_instances' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/config.rb:116:в filtered_instances 'из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/command.rb:139:in call' из C:/ opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/cli.rb:52:в списке' из C:/opscode/chef-workstation /embedded/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in ignore_command' из C:/opscode/chef-workstation/embedded/lib/ruby/ gems/3.1.0/gems/thor-1.2.1/lib/thor.rb:392:in start' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test -kitchen-3.5.0/bin/kitchen:11:in with_Friendly_errors' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/bin/ кухня:11:в загрузке' из C:/opscode/chef-workstation/bin/kitchen:413:в select_with_timeout': достигнуто время ожидания подключения_записи (Excon::Error::Timeout) из C:/opscode/chef-workstation/embedded /lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/socket.rb:153:in блок в соединении' из C:/opscode/chef-workstation/embedded/lib/ruby/ 3.1.0/resolv.rb:111:в каждом_адресе из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/socket.rb :124:в инициализации' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:476:в сокете' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:121:in request_call'
из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/mock.rb:57: в request_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/idempotent.rb:19:in request_call' из C:/opscode/chef-workstation/ Embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:22:in request_call' из C:/opscode/chef-workstation/embedded/lib/ruby /gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:286:in error_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/ драгоценные камни/excon-0.99.0/lib/excon/middlewares/base.rb:17:in error_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99 .0/lib/excon/middlewares/base.rb:17:в спасении по запросу' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/ lib/excon/connection.rb:230:in error_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base .rb:17: в error_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:17: в спасении в запросе' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:230:in error_call' из C :/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:17:in error_call' из C:/opscode/chef -workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:17:в спасении по запросу' из C:/opscode/chef-workstation/ Embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:230:в запросе' из C:/opscode/chef-workstation/embedded/lib/ruby/gems /3.1.0/gems/docker-api-2.2.0/lib/docker/connection.rb:109:in info' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/ драгоценные камни/docker-api-2.2.0/lib/docker.rb:114:in docker_info' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/kitchen-dokken-2.19 .1/lib/kitchen/driver/dokken.rb:48:in модуль:Driver' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/kitchen-dokken-2.19. 1/lib/kitchen/driver/dokken.rb:32:in <top (обязательно)>'
из внутреннего: C:/opscode/chef-workstation/embedded/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb:85:in require' из C:/opscode/chef-workstation/embedded/lib/ruby /gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/plugin.rb:35:in for_plugin' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1. 0/gems/test-kitchen-3.5.0/lib/kitchen/config.rb:235:in new_instance' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test -kitchen-3.5.0/lib/kitchen/config.rb:143:in map' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/config.rb:142:in build_instances из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen /config.rb:116:in filtered_instances' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/command.rb: 139:в вызове' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/cli.rb:52:в списке' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in ignore_command' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor.rb:392:in start' из C:/opscode/chef-workstation/embedded/lib/ruby/ gems/3.1.0/gems/test-kitchen-3.5.0/bin/kitchen:11:in with_Friendly_errors' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test -kitchen-3.5.0/bin/kitchen:11:in load' из C:/opscode/chef-workstation/bin/kitchen:413:in<main>' C:/opscode/chef-workstation/embedded/lib/ruby/3.1.0/socket.rb:1214:in
__connect_nonblock': в данный момент выполняется операция блокировки. - Connect(2) заблокирует (IO::EINPROGRESSWaitWritable) из C:/opscode/chef-workstation/embedded/lib/ruby/3.1.0/socket.rb:1214:inconnect_nonblock' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/socket.rb:147:in
блокировать в соединении' из C:/opscode/chef-workstation/embedded/lib/ruby/3.1.0/resolv.rb:111:ineach_address' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/socket.rb:124:in Initialize' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:476:in сокет' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib /excon/connection.rb:121:in request_call'
из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/mock. rb:57:in request_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/idempotent.rb:19:in request_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:22: в request_call' из C: /opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:286:in error_call' из C:/opscode/chef-workstation/ Embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:17:in error_call' из C:/opscode/chef-workstation/embedded/lib/ruby /gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:17:в спасении по запросу' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/ 3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:230:in error_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon -0.99.0/lib/excon/middlewares/base.rb:17:in error_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/ lib/excon/middlewares/base.rb:17:в спасении по запросу' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon /connection.rb:230:in error_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb: 17: в error_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:17: при восстановлении в запрос» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:230:в запросе из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/docker-api-2.2.0/lib/docker/connection.rb:109:in info' из C:/opscode/chef-workstation/ Embedded/lib/ruby/gems/3.1.0/gems/docker-api-2.2.0/lib/docker.rb:114:ininfo' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/kitchen-dokken-2.19.1/lib/kitchen/helpers.rb:122:in
docker_info' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/kitchen-dokken-2.19.1/lib/kitchen/driver/dokken.rb:48:in<class:Dokken>' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/kitchen-dokken-2.19.1/lib/kitchen/driver/dokken.rb:36:in
модуль: Драйвер» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/kitchen-dokken-2.19.1/lib/kitchen/driver/dokken.rb:32:in<module:Kitchen>' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/kitchen-dokken-2.19.1/lib/kitchen/driver/dokken.rb:31:in
<top (обязательно)>'
из внутреннего: C:/opscode/chef-workstation/embedded/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb:85:inrequire' from <internal:C:/opscode/chef-workstation/embedded/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in
require» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/plugin.rb:35:inload' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/driver.rb:37:in
for_plugin' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/config.rb:235:innew_driver' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/config.rb:250:in
new_instance» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/config.rb:143:inblock in build_instances' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/config.rb:142:in
карта» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/config.rb:142:inwith_index' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/config.rb:142:in
build_instances» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/config.rb:116:ininstances' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/command.rb:109:in
filtered_instances» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/command.rb:139:inparse_subcommand' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/command/list.rb:29:in
вызов» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/cli.rb:52:inperform' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/cli.rb:120:in
list» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:inrun' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in
ignore_command' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor.rb:392:indispatch' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/base.rb:485:in
start' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/bin/kitchen:11:inblock in <top (required)>' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/lib/kitchen/errors.rb:183:in
with_Friendly_errors» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/test-kitchen-3.5.0/bin/kitchen:11:in<top (required)>' from C:/opscode/chef-workstation/bin/kitchen:413:in
load» из C:/opscode/chef-workstation/bin/kitchen:413:in<main>' C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/socket.rb:307:in
select_with_timeout': достигнуто время ожидания подключения_записи (Excon::Error::Timeout) из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/socket .rb:153:вrescue in block in connect' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/socket.rb:134:in
блокировать подключение» из C:/opscode/chef-workstation/embedded/lib/ruby/3.1.0/resolv.rb:111:ineach_address' from C:/opscode/chef-workstation/embedded/lib/ruby/3.1.0/resolv.rb:58:in
каждый_адрес» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/socket.rb:124:inconnect' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/socket.rb:51:in
инициализировать» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:476:innew' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:476:in
сокет» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:121:inrequest_call' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/redirect_follower.rb:15:in
request_call'
из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/mock.rb:57:inrequest_call' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/instrumentor.rb:34:in
request_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/idempotent.rb:19: в request_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:22:inrequest_call' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:22:in
request_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:286:in error_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:17:in error_call' из C:/opscode/chef-workstation/ Embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:17:в спасении по запросу' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:230:inrequest' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/idempotent.rb:50:in
error_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:17:inerror_call' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:17:in
error_call' из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/middlewares/base.rb:17:inerror_call' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:315:in
спасение по запросу» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/excon-0.99.0/lib/excon/connection.rb:230:inrequest' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/docker-api-2.2.0/lib/docker/connection.rb:45:in
запрос» из C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/docker-api-2.2.0/lib/docker/connection.rb:109:inblock (2 levels) in <class:Connection>' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/3.1.0/gems/docker-api-2.2.0/lib/docker/connection.rb:114:in
Информация'
1 ответ
В Docker Desktop перейдите в «Настройки» и включите «Выставить демон на tcp://localhost:2375 без TLS». Это откроет доступ к этому порту, поэтому в зависимости от вашей среды вы можете не захотеть этого делать.