I just installed docker on my windows 10. Can someone please help me with the setup since its not working and I am stuck badly.
Below are my observations:
- Hyper V is enabled (Checked in BIOS and Windows Features)
- I previously installed Virtual Box but I have tried uninstalling it and again tried to setup docker but no luck.
Below is the snip of logs created:
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[17:08:00.634][GUI ][Info ] Starting…
[17:08:01.668][ComponentVersions ][Info ] Edition community
[17:08:02.358][ComponentVersions ][Info ] Edition community
[17:08:04.997][AppMigrator ][Info ] Current version: 5. Latest version: 5
[17:08:08.903][TrackingSettings ][Info ] Crash report and usage statistics are enabled
[17:08:08.903][SegmentApi ][Info ] Usage statistic: Identify
[17:08:09.422][SegmentApi ][Info ] Usage statistic: appLaunched
[17:08:24.801][ApplicationTemplatesTracking][Info ] Cannot list templates
[17:08:24.801][SegmentApi ][Info ] Usage statistic: eventTemplatesInfo
[17:08:24.816][SegmentApi ][Info ] Usage statistic: heartbeat
[17:08:26.316][NamedPipeClient ][Info ] Sending app/version()…
[17:08:31.263][GUI ][Error ] Error getting credentials:
[17:08:31.356][NamedPipeClient ][Info ] Sending app/version()…
[17:08:36.373][NamedPipeClient ][Info ] Sending app/version()…
[17:08:41.383][NamedPipeClient ][Info ] Sending app/version()…
[17:08:46.383][NamedPipeClient ][Info ] Sending app/version()…
[17:09:04.771][NamedPipeClient ][Info ] Sending app/version()…
[17:09:04.818][NamedPipeClient ][Info ] Received response for app/version
[17:09:04.818][NamedPipeClient ][Info ] Sending app/migrate()…
[17:09:04.833][NamedPipeClient ][Info ] Received response for app/migrate
[17:09:03.865][ComponentVersions ][Info ] Edition community
[17:09:03.896][Linux ][Info ] Setting container engine status to Stopped
[17:09:03.896][WslEngine ][Info ] Setting container engine status to Stopped
[17:09:03.896][BackendNamedPipeServer][Info ] Started
[17:09:04.818][NamedPipeServer ][Info ] app/version()
[17:09:04.818][NamedPipeServer ][Info ] app/version done in 00:00:00.
[17:09:04.833][NamedPipeServer ][Info ] app/migrate()
[17:09:04.833][NamedPipeServer ][Info ] app/migrate done in 00:00:00.
[17:09:04.849][NamedPipeClient ][Info ] Sending app/version()…
[17:09:04.849][NamedPipeClient ][Info ] Received response for app/version
[17:09:04.849][NamedPipeClient ][Info ] Sending version-packs/enable(community, Docker.Core.Settings)…
[17:09:04.849][NamedPipeServer ][Info ] app/version()
[17:09:04.849][NamedPipeServer ][Info ] app/version done in 00:00:00.
[17:09:04.865][NamedPipeServer ][Info ] version-packs/enable(community, Docker.Core.Settings)
[17:09:04.880][NamedPipeClient ][Info ] Received response for version-packs/enable
[17:09:04.880][NamedPipeServer ][Info ] version-packs/enable done in 00:00:00.0155726.
[17:09:04.896][NamedPipeClient ][Info ] Sending app/version()…
[17:09:04.896][NamedPipeClient ][Info ] Received response for app/version
[17:09:04.896][NamedPipeClient ][Info ] Sending engine/start(Linux, Docker.Core.Settings, Docker.Core.DaemonOptions, )…
[17:09:04.896][NamedPipeServer ][Info ] app/version()
[17:09:04.896][NamedPipeServer ][Info ] app/version done in 00:00:00.
[17:09:04.896][NamedPipeServer ][Info ] engine/start(Linux, Docker.Core.Settings, Docker.Core.DaemonOptions, )
[17:09:06.681][Linux ][Info ] Setting container engine status to Starting
[17:09:06.697][PowerShell ][Info ] Creating a Runspace Pool…
[17:09:08.842][PowerShell ][Info ] Runspace Pool created (Min=1, Max=2)
[17:09:06.697][PowerShell ][Info ] Creating a Runspace Pool…
[17:09:08.842][PowerShell ][Info ] Runspace Pool created (Min=1, Max=2)
[17:09:09.215][PowerMode ][Info ] Stop
[17:09:09.215][HyperV ][Info ] Stop
[17:09:09.294][PowerShell ][Info ] Run script with parameters: -Stop True -VmName DockerDesktopVM -SwitchName DockerNAT -Verbose True -ErrorAction Stop
[17:09:16.058][HyperV ][Info ] VM DockerDesktopVM is stopped
[17:09:16.058][HyperV ][Debug ] [stop] took 00:00:06.8429405 to run
[17:09:16.058][OptimizeDisk ][Info ] Optimize
[17:09:16.058][PowerShell ][Info ] Run script…
[17:09:18.256][APIRequestLogger ][Info ] [3d2746f8] GET http://localhost/features
[17:09:18.443][GoBackendClient ][Warning] HttpOS Client: connection timed out.
[17:09:18.646][GoBackendClient ][Error ] Error fetching experimental features: System.TimeoutException: The operation has timed out.
at System.IO.Pipes.NamedPipeClientStream.ConnectInternal(Int32 timeout, CancellationToken cancellationToken, Int32 startTime)
at System.Threading.Tasks.Task.Execute()
— 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 HttpOverStream.NamedPipe.NamedPipeDialer.d__7.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 HttpOverStream.Client.DialMessageHandler.d__9.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 Docker.Core.Logging.APIRequestLogger.d__3.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 System.Net.Http.HttpClient.d__58.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 Docker.Core.GoBackend.GoBackendClient.d__9.MoveNext()
[17:09:18.693][VpnKitBridge ][Info ] Starting C:\Program Files\Docker\Docker\resources\vpnkit-bridge.exe --addr listen://00000000-0000-0000-0000-000000000000/000007CF-FACB-11E6-BD58-64006A7986D3 host
[17:09:19.455][VpnKitBridge ][Info ] Started
[17:09:19.455][PowerMode ][Info ] Start
[17:09:19.455][HyperVGuids ][Info ] Installing GUIDs…
[17:09:19.455][HyperVGuids ][Info ] GUIDs installed
[17:09:19.455][Firewall ][Info ] Removing all existing rules…
[17:09:19.534][HyperV ][Info ] Create
[17:09:33.601][VpnKit ][Info ] vpnkit.exe: No periodic Gc.compact enabled
[17:09:33.601][VpnKit ][Error ] vpnkit.exe: Starting to watch : EINVAL
[17:09:33.601][VpnKit ][Error ] vpnkit.exe: Failed to watch hosts file : invalid argument
[17:09:33.601][VpnKit ][Warning] vpnkit.exe: There is no database: using hardcoded network configuration values
[17:09:33.616][VpnKit ][Info ] vpnkit.exe: DNS server configured with no builtin DNS names; everything will be forwarded
[17:09:33.616][VpnKit ][Info ] vpnkit.exe: 2 upstream DNS servers are configured
[17:09:33.616][VpnKit ][Error ] vpnkit.exe: While watching /etc/resolv.conf: ENOENT
docker.for.win.host.internal -> 192.168.65.2, docker.for.win.localhost -> 192.168.65.2, vm.internal -> 192.168.65.3 ]
[17:09:33.616][VpnKit ][Info ] vpnkit.exe: Will use the host’s DNS resolver
[17:09:33.616][VpnKit ][Info ] vpnkit.exe: Transparent HTTP redirection configuration file C:\Users\nakul.goyal\AppData\Roaming\Docker\http_proxy.json has changed
[17:09:33.616][VpnKit ][Info ] vpnkit.exe: Reading transparent HTTP redirection from C:\Users\nakul.goyal\AppData\Roaming\Docker\http_proxy.json
[17:09:33.616][VpnKit ][Info ] vpnkit.exe: Watching transparent HTTP redirection configuration file C:\Users\nakul.goyal\AppData\Roaming\Docker\http_proxy.json for changes
[17:09:33.616][VpnKit ][Info ] vpnkit.exe: New Gateway forward configuration:
[17:09:33.616][VpnKit ][Info ] vpnkit.exe: Gateway forwards file C:\Users\nakul.goyal\AppData\Roaming\Docker\gateway_forwards.json has changed
[17:09:33.616][VpnKit ][Info ] vpnkit.exe: Reading gateway forwards file from C:\Users\nakul.goyal\AppData\Roaming\Docker\gateway_forwards.json
[17:09:33.616][VpnKit ][Info ] vpnkit.exe: Watching gateway forwards file C:\Users\nakul.goyal\AppData\Roaming\Docker\gateway_forwards.json for changes
[17:09:33.616][VpnKit ][Info ] vpnkit.exe: Configuration server_macaddr = f6:16:36:bc:f9:c6; max_connection = None; dns_path = None; dns = ; resolver = Host; domain = None; allowed_bind_addresses = 0.0.0.0; gateway_ip = 192.168.65.1; host_ip = 192.168.65.2; lowest_ip = 192.168.65.3; highest_ip = 192.168.65.14; dhcp_json_path = None; dhcp_configuration = None; mtu = 1500; http_intercept = None; http_intercept_path = C:\Users\nakul.goyal\AppData\Roaming\Docker\http_proxy.json; port_max_idle_time = 300; host_names = host.docker.internal, docker.for.win.host.internal, docker.for.win.localhost; gateway_names = gateway.docker.internal, docker.for.win.gateway.internal, docker.for.win.http.internal; vm_names = vm.internal; udpv4_forwards = ; tcpv4_forwards = ; gateway_forwards_path = C:\Users\nakul.goyal\AppData\Roaming\Docker\gateway_forwards.json; pcap_snaplen = 128
[17:09:33.616][VpnKit ][Error ] vpnkit.exe: While watching C:\Users\nakul.goyal\AppData\Roaming\Docker\gateway_forwards.json: ENOENT
[17:09:33.616][VpnKit ][Error ] vpnkit.exe: Failed to read gateway forwards from C:\Users\nakul.goyal\AppData\Roaming\Docker\gateway_forwards.json: reading C:\Users\nakul.goyal\AppData\Roaming\Docker\gateway_forwards.json: No such file or directory.
[17:09:33.616][VpnKit ][Info ] vpnkit.exe: New Gateway forward configuration:
[17:09:33.616][VpnKit ][Info ] vpnkit.exe: Updating transparent HTTP redirection: {
[17:09:33.616][VpnKit ][Info ] “exclude”: “”,