Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker failed to initialize

I am trying to install the Docker community edition for windows, the installation was successful and it asked me to logout and login again and I did same. But when I tried to start the docker it says -

A task was canceled. at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) at Docker.WPF.BackendClient.Version() at Docker.Program.Run(IReadOnlyCollection`1 args)

It is giving me below options -

Docker Error

Any help or pointers will really helpful.

like image 945
Jeet Avatar asked Jul 06 '17 06:07

Jeet


People also ask

Why Docker is shutting down?

The process inside the container has been terminated: This is when the program that runs inside the container is given a signal to shut down. This happens if you run a foreground container (using docker run ), and then press Ctrl+C when the program is running.

How do I fix Docker Desktop is shutting down?

I had the same problem. You need to enter in C:\Users<YourUser>\AppData\Roaming\Docker Delete the file settings. json and add a new one. After, you just need to restart the docker desktop.

Why is my docker not starting?

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.


2 Answers

Just need to delete the files in C:\Users\xxxxxxx\AppData\Roaming\Docker fixed it

like image 184
Anil Kumar Avatar answered Oct 09 '22 21:10

Anil Kumar


Deleting C:\Users\UserName\AppData\Roaming\Docker folder also resolved my issue.

like image 16
Gokce Demir Avatar answered Oct 09 '22 21:10

Gokce Demir