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
Docker Desktop Installation failed.
#8501
mikezang opened this issue
Sep 16, 2020
· 2 comments
Comments
- 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
- Download Docker Desktop for Windows(Stable) or Docker Desktop for Windows(Edge).
- Double click downloaded Docker Desktop Installer.exe file.
- Show error message as above.
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
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
locked and limited conversation to collaborators
Feb 13, 2021
2 participants
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