Docker desktop installation failed windows 7

Docker Desktop is not supported on windows 7, you can use Docker toolbox instead.
Do following steps:

  • Install hyper-v
  • Install Docker Toolbox and try to follow link instructions
  • Run Docker Quickstart as admin.

After following above steps, you may not be able to run Docker Quickstart Terminal properly. If so, follow below steps:

  • Go to window’s Start.
  • type: Environment
  • click: Edit the system environment variables
  • Make sure you have VBOX_INSTALL_PATH (should point to VirtualBox installation folder. i.e. C:\Program Files\Oracle\VirtualBox)
  • Make sure you have VBOX_MSI_INSTALL_PATH (should point to VirtualBox installation folder. i.e. *C:\Program Files\Oracle\VirtualBox*)
  • Make sure you have VBOX_USER_HOME (e.g. C:\Users\Sara.VirtualBox)
  • Make sure you have DOCKER_TOOLBOX_INSTALL_PATH in your User variables (i.e. C:\Program Files\Docker Toolbox)
  • Restart your computer.

Try Running Kitematic. If its not working and you are receiving an error about «default» already existing or config.json missing, do the following:

  • close Docker Quickstart Terminal if open.
  • open task manager -> processes.
  • End process VBoxHeadless.exe
  • add an empty config.json file manually in %userprofile%.docker\machine\machines\default if config.json is missing.
  • Run in CMD: docker-machine rm -f default
  • Run in CMD: docker-machine create -d virtualbox —virtualbox-memory 2048 default

If the above CMD commands failed:

  • delete folder %userprofile%.docker\machine\machines\default manually
  • restart computer
  • run Docker Quickstart Terminal as admin
  • folder %userprofile%.docker\machine\machines\default should have been created properly at this point.
  • open kitematic. UI should be presented properly

Problem with «default» project

Failure on «default»

Я загрузил рабочий стол docker с веб-сайта, но не смог открыть программу установки. Моя операционная система — Windows 7. Какие шаги необходимы для установки рабочего стола Docker в Windows 7?

person
olNoy
  
schedule
29.04.2020
  
source
источник


Ответы (3)

Docker Desktop не поддерживается в Windows 7, вместо этого вы можете использовать панель инструментов Docker. Выполните следующие шаги:

  • Установите hyper-v
  • Установите Docker Toolbox и следуйте инструкциям по ссылке.
  • Запустите Docker Quickstart от имени администратора.

После выполнения описанных выше шагов вы не сможете правильно запустить Терминал быстрого запуска Docker. Если это так, выполните следующие действия:

  • Перейдите в окно «Пуск».
  • тип: Окружающая среда
  • нажмите: Изменить системные переменные среды
  • Убедитесь, что у вас есть VBOX_INSTALL_PATH (должен указывать на папку установки VirtualBox, например C:\Program Files\Oracle\VirtualBox)
  • Убедитесь, что у вас есть VBOX_MSI_INSTALL_PATH (должен указывать на папку установки VirtualBox, например *C:\Program Files\Oracle\VirtualBox*)
  • Убедитесь, что у вас есть VBOX_USER_HOME (например, C:\Users\Sara.VirtualBox)
  • Убедитесь, что в ваших пользовательских переменных указан DOCKER_TOOLBOX_INSTALL_PATH (например, C:\Program Files\Docker Toolbox).
  • Перезагрузите компьютер.

Попробуйте запустить Kitematic. Если он не работает и вы получаете сообщение об уже существующем «по умолчанию» или об отсутствии файла config.json, выполните следующие действия:

  • закройте терминал быстрого запуска Docker, если он открыт.
  • откройте диспетчер задач -> процессы.
  • Завершить процесс VBoxHeadless.exe
  • добавьте пустой файл config.json вручную в %userprofile%.docker\machine\machines\default, если config.json отсутствует.
  • Запустите в CMD: docker-machine rm -f по умолчанию
  • Запустите в CMD: docker-machine create -d virtualbox —virtualbox-memory 2048 по умолчанию

Если приведенные выше команды CMD не увенчались успехом:

  • удалить папку %userprofile%.docker\machine\machines\default вручную
  • Перезапустить компьютер
  • запустите терминал быстрого запуска Docker от имени администратора
  • папка %userprofile%.docker\machine\machines\default на этом этапе должна быть создана правильно.
  • открытый кайтемат. Пользовательский интерфейс должен быть представлен правильно

Проблема с проектом «по умолчанию»

Ошибка по умолчанию

person
olNoy
  
schedule
29.04.2020

Comments

@sebascomeau

  • I have tried with the latest version of my channel (Stable or Edge)

Expected behavior

Docker Desktop installed and running

Actual behavior

Docker Desktop installation failed.

Exception message: Failed to start service: The service did not respond to the start or control request in a timely fashion

Screen capture:
7E5ABFFB

Here’s the installation log: install-log.txt

Information

  • Windows Version: Microsoft Windows 10 Enterprise (10.0.17134 N/A Build 17134 — 1803)
  • Docker Desktop Version: 2.2.0.3
  • Are you running inside a virtualized Windows e.g. on a cloud server or on a mac VM: No

Steps to reproduce the behavior

  1. Download Docker Desktop Community Edition Stable latest version 2.2.0.3
  2. Run the executable with admin privilege

@mat007

Anything suspicious in the Windows Event Viewer?

@sebascomeau

Service Control Manager — Error 01
Service Control Manage - Error 01

Service Control Manager — Error 02
Service Control Manage - Error 02

@sebascomeau

I tried to install version 2.1.0.5 and got a Query Error (Security — Access is denied) when trying to start the Docker Desktop service while installing. I don’t know what the service is trying to access when starting.

DC75A798

@sebascomeau

I’m suspecting the issue is caused by my HOMEDRIVE and HOMEPATH user variables pointing to a network drive. I tried to changed it to C: and \Users(username) but Windows wont listen to my changes. Maybe a GPO enforce those values at runtime. I’m continuing to investigate.

@sebascomeau

I give up until someone fix this. I set system variable HOME to C:\Users%USERNAME% and this fixed my path when launching a bash terminal but not cmd. I tried with my admin account that don’t have the weird variable configuration that my regular user have and the install hang trying to run the Docker Desktop backend service. Tried the version 2.2.0.3 and still have the same initial issue.

Untitled

@SINDHUN97

Hi,
Facing same issue.I am trying to upgrade from Docker Desktop 2.1.0.3 to 2.2.0.5 getting Installation failed:The Server service is not started.Any solution?
image

@sebascomeau

No solution yet for my work computer but I successfully installed in on another computer at home without any problem. Could be caused by the security on my work computer.

@mat007

@mat007

@sebascomeau when the installer hangs, are you able to look if there is any error in %programdata%\DockerDesktop\service.txt?
Do you still get that same error in the Windows Event Viewer?

@HongChongxi

I am also getting the same error when installing the Stable release of Docker for Windows. I am using Windows 10 (Build: 19041). Can anybody help to advise?

image

@thundergs

I am also getting the same error when installing Docker Desktop version 2.3 for Windows 10 Pro 2004. I tried both the Stable release and the Edge releases :
install-log.txt

image

@mss1010

I had the same issue, and the following solved it for me:

Restart all running Hyper-V services in task manager.

Before that, I uninstalled and reinstalled it couple of times, and deleted Docker directories in User\Appdata\Local and Program Files. Not sure if this is required, but in the end restarting a couple of related services fixed it for me.

@docker-robott

Issues go stale after 90 days of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30 days of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale

@docker-robott

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker
docker

locked and limited conversation to collaborators

Dec 27, 2020

Docker Desktop is not supported on windows 7, you can use Docker toolbox instead.
Do following steps:

  • Install hyper-v
  • Install Docker Toolbox and try to follow link instructions
  • Run Docker Quickstart as admin.

After following above steps, you may not be able to run Docker Quickstart Terminal properly. If so, follow below steps:

  • Go to window’s Start.
  • type: Environment
  • click: Edit the system environment variables
  • Make sure you have VBOX_INSTALL_PATH (should point to VirtualBox installation folder. i.e. C:Program FilesOracleVirtualBox)
  • Make sure you have VBOX_MSI_INSTALL_PATH (should point to VirtualBox installation folder. i.e. *C:Program FilesOracleVirtualBox*)
  • Make sure you have VBOX_USER_HOME (e.g. C:UsersSara.VirtualBox)
  • Make sure you have DOCKER_TOOLBOX_INSTALL_PATH in your User variables (i.e. C:Program FilesDocker Toolbox)
  • Restart your computer.

Try Running Kitematic. If its not working and you are receiving an error about «default» already existing or config.json missing, do the following:

  • close Docker Quickstart Terminal if open.
  • open task manager -> processes.
  • End process VBoxHeadless.exe
  • add an empty config.json file manually in %userprofile%.dockermachinemachinesdefault if config.json is missing.
  • Run in CMD: docker-machine rm -f default
  • Run in CMD: docker-machine create -d virtualbox —virtualbox-memory 2048 default

If the above CMD commands failed:

  • delete folder %userprofile%.dockermachinemachinesdefault manually
  • restart computer
  • run Docker Quickstart Terminal as admin
  • folder %userprofile%.dockermachinemachinesdefault should have been created properly at this point.
  • open kitematic. UI should be presented properly

Problem with «default» project

Failure on «default»

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account


Closed

mikezang opened this issue

Sep 16, 2020

· 2 comments


Closed

mikezang opened this issue

Sep 16, 2020

· 2 comments

Comments

@mikezang

  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID:

Expected behavior

I had installed successful.

Actual behavior

After I uninstalled and reinstall the same version, I got error as below:

Windows ランタイム型 ‘Windows.Data.Json.JsonObject’ が見つかりませんでした。
場所 CommunityInstaller.Manifest.FromJson(ILogManager logManager, String json, Boolean skipPrerequisites, IList`1 args)
場所 CommunityInstaller.ExtractManifestStep.d__36.MoveNext()
— 直前に例外がスローされた場所からのスタック トレースの終わり —
場所 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
場所 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
場所 CommunityInstaller.InstallWorkflow.d__32.MoveNext()
— 直前に例外がスローされた場所からのスタック トレースの終わり —
場所 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
場所 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
場所 CommunityInstaller.InstallWorkflow.d__27.MoveNext()

Information

  • Windows Version: Windows 7 Professional
  • Docker Desktop Version: Docker version 19.03.1, build 74b1e89e8a
  • Are you running inside a virtualized Windows e.g. on a cloud server or on a mac VM: No

Steps to reproduce the behavior

  1. Download Docker Desktop for Windows(Stable) or Docker Desktop for Windows(Edge).
  2. Double click downloaded Docker Desktop Installer.exe file.
  3. Show error message as above.

@docker-robot

Issues go stale after 90 days of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30 days of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale

@docker-robot

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker
docker

locked and limited conversation to collaborators

Feb 13, 2021

2 participants

@mikezang

@docker-robot

Introduction

Docker enables us to build and share containerized applications and microservices. In this article, we will learn how to install and make ready a docker desktop in a Windows machine and learn how to fix the issue for Docker container not running properly in the Windows environment. For this article, I have used Windows 10 pro machine to install Docker Desktop and all screenshots are taken from the Windows machine.

Let’s start the installation steps,

Step 1 – Download Docker Desktop

The very first step is to download the installation file. You can download it from here.

You can download Docker for Windows, Mac, or Linux based on your machine specification.

Step 2 – Installation

Double click on the installation file and run it.

Proceed with the installation by clicking yes.

Select depicted component and click on Ok.

Then the installation will start. It may take a few minutes.

After the installation, completion restarts the machine by clicking on Close and restart.

Then, you can see the Docker icon on your Desktop, or you can search it from Windows search.

While opening Docker, If you get an error like WSL 2 installation is incomplete as shown below then,click on the hyperlink of the error message and download the Windows Subsystem for Linux (WSL2) from that hyperlink and install it. After installation restarts the computer.

Step 3- Checking Setting WSL 2

Open Docker Desktop and click on the setting icon and then select “Use the WSL 2 based engine” as shown below,

Then, go to Resources->WSL Integration and Select “Enable integration with my default WSL distro” and click Apply & Restart.

Subsequently, open and check your Docker whether it is running properly. One way to find docker status is: you can check the whale icon in the status bar. If the whale icon is stable means Docker is up and running. It can be accessed from a terminal window.

Docker Desktop for Windows throwing Error

Follow the below troubleshooting steps if you still face issues running Docker in Windows 10 machine.

Step 1 – Run Docker Services

Type and search Services in the windows search box or open run then type services.msc and click Ok. Then you will see a list of services available. Go to Docker and check whether Docker Desktop Service is running or not. If it is not running then right-click and click on Start.

Step 2- Enable Hyper-V and Containers

Another step is to verify if the Windows Features are enabled:

  • Hyper-V and containers
  • Containers

Type the Windows Feature in Windows search and go to Turn Windows features on or off.

Select Containers and Hyper-V as depicted below and click on OK.

Step 3- Verify Virtualization is enabled from Task Manager

Hardware virtualization is the most powerful feature of Windows 10. This enables you to create a virtual machine on your system which is completely separated from the main system.

To verify virtualization right click on Taskbar and open the Task Manager. Go to performance and then CPU to verify whether Virtualization is enabled or not. If virtualization is disabled Docker Desktop cannot start.

If the virtualization is disabled in your machine then you need to enable it from BIOS Settings. Note that Windows 10 Home edition doesn’t support Hyper-V feature only Windows 10 Enterprise, Pro, or Education support it. Additionally, virtualization depends upon the hardware specification.

Conclusion

Hence, this article has described the steps to install and fix the issues for Docker Desktop in Windows machines. I hope this helps to install and resolve the Docker Desktop issue in your Windows machine.

Как установить Docker на Windows 7?

Это просто выдает ошибку

Я бы подумал, что установка будет очень простой в самой популярной операционной системе … По-видимому, нет

Manifest extraction failed: Could not find Windows Runtime type 'Windows.Data.Json.JsonObject'.
   at CommunityInstaller.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at CommunityInstaller.InstallWorkflow.<DoProcessAsync>d__24.MoveNext()

1 ответ

Лучший ответ

Я предполагаю, что вы пытаетесь установить Docker Desktop для Windows. Если нет, мне очень жаль.

Но если это так, я не думаю, что в Windows 7 доступна функция Hyper-V. Я думаю, для Windows 7 вам понадобится Docker Toolbox. Вы можете найти выпуск здесь.

В Docker Desktop Windows Requirements говорится, что вам необходимо:

  • 64-разрядная версия Windows 11: Home или Pro версии 21H2 или выше, либо Enterprise или Education версии 21H2 или выше.
  • 64-разрядная версия Windows 10: Home или Pro 2004 (сборка 19041) или выше, либо Enterprise или Education 1909 (сборка 18363) или выше.


0

Joao Almeida
21 Дек 2021 в 14:54

Заголовок: Исследование причин и устранение проблемы при установке Docker Desktop 4.6.1 ‘installation failed’

Введение:
Docker Desktop 4.6.1 — это популярный инструмент для контейнеризации приложений, который позволяет разработчикам создавать, развертывать и запускать приложения в изолированных средах. Однако иногда при установке Docker Desktop 4.6.1 пользователи сталкиваются с проблемами, такими как ‘installation failed’. В этой статье мы рассмотрим возможные причины, которые приводят к такой ошибке, а также предложим способы устранения проблемы.

I. Проверка системных требований:
Перед началом установки Docker Desktop 4.6.1 необходимо убедиться, что ваша система соответствует минимальным требованиям. Установка Docker Desktop возможна только на операционных системах Windows 10 или macOS 10.14 и выше. Также требуется наличие 4 ГБ свободного места на жестком диске и поддержка аппаратной виртуализации.

1. Проверьте версию вашей операционной системы. Если вы используете Windows, убедитесь, что ваша система работает под управлением Windows 10 или более новой версии. Владельцам macOS рекомендуется проверить версию своей системы и убедиться, что она не ниже 10.14.

2. Проверьте наличие свободного пространства на жестком диске. Docker Desktop требует минимум 4 ГБ свободного места для правильной установки и работы. Убедитесь, что у вас достаточно свободного места на вашем диске.

3. Убедитесь, что ваш процессор поддерживает аппаратную виртуализацию. Docker Desktop требует аппаратной виртуализации VT-x/AMD-V для выполнения своих функций. Некоторые процессоры могут иметь эту функцию отключенной или не поддерживать ее. Вам потребуется включить ее в настройках BIOS/UEFI.

II. Проверка совместимости другого ПО:
Другая причина ошибки ‘installation failed’ может быть связана с несовместимостью Docker Desktop с другими программами или антивирусными средствами на вашей системе.

1. Проверьте, есть ли на вашей системе установленные программы, которые могут конфликтовать с Docker Desktop. Перед установкой Docker Desktop рекомендуется временно отключить антивирусное ПО и любые другие программы, которые могут вызвать конфликт.

2. Если у вас установлено антивирусное программное обеспечение, проверьте его настройки. Некоторые антивирусные программы могут блокировать установку Docker Desktop, так как она требует изменения некоторых системных параметров и установку дополнительных компонентов. Попробуйте временно отключить антивирусное программное обеспечение или добавить исключения для Docker в настройках антивирусной программы.

III. Проблемы с подключением к Интернету:
Для корректной установки Docker Desktop необходимо наличие подключения к Интернету. Если у вас возникли проблемы с подключением или настройкой сети, это может вызвать ошибку ‘installation failed’.

1. Проверьте подключение к Интернету на вашей системе. Убедитесь, что вы имеете стабильное подключение и что у вас нет проблем с сетью.

2. Проверьте настройки прокси. Если вы находитесь за корпоративной сетью или используете прокси-сервер для доступа в Интернет, убедитесь, что Docker Desktop настроен правильно для работы через прокси.

IV. Устранение ошибки ‘installation failed’:
Если вы все проверили, но проблема с установкой Docker Desktop 4.6.1 всё равно остается, рассмотрим следующие шаги:

1. Проверьте журналы установки. Docker Desktop создает файлы журналов во время установки, которые могут содержать полезную информацию о причинах ошибки. Обычно они находятся в папке %APPDATA%\Docker или ~/Library/Containers/com.docker.docker/Data/log/. Проанализируйте эти журналы на наличие сообщений об ошибках или предупреждений, которые могут указывать на причину проблемы.

2. Обратитесь к сообществу Docker. Если вы не можете найти решение самостоятельно, обратитесь за помощью к сообществу Docker. Форумы, документация и другие онлайн-ресурсы могут содержать информацию и решения для подобных проблем.

3. Попробуйте предыдущую версию Docker Desktop. Если все еще невозможно установить Docker Desktop 4.6.1, попробуйте скачать и установить предыдущую стабильную версию Docker Desktop. Возможно, проблема связана с конкретной версией 4.6.1, и предыдущая версия будет работать у вас корректно.

Заключение:
Ошибка ‘installation failed’ при установке Docker Desktop 4.6.1 может быть вызвана несколькими причинами, такими как несоответствие системных требований, конфликты с другим ПО или проблемы с подключением к Интернету. Путем проверки системных требований, устранения конфликтов с другим ПО и проверки подключения к Интернету, вы можете решить эту проблему. Если ничего из перечисленного не помогло, вы можете обратиться к сообществу Docker или попробовать установить предыдущую версию Docker Desktop.

  • Docker для windows server 2012
  • Docker desktop is shutting down windows 10
  • Docker для windows server 2008
  • Docker switch to windows containers
  • Docker desktop for windows что это