Docker Installation Issue on Windows 8 - docker

I am trying to install docker using DockerToolBox and followed steps from ToolBox_Install_windows but I am getting this error:
00:00:51.238278 Guest Control: GUEST_MSG_REPORT_FEATURES: 0x1, 0x8000000000000000
00:00:51.245031 VMMDev: Guest Log: 00:00:00.019443 vminfo rtldrNativeLoad: dlopen('libdbus-1.so.3', RTLD_NOW | RTLD_LOCAL) failed: libdbus-1.so.3: cannot open shared object file: No such file or directory
00:00:51.245165 VMMDev: Guest Log: 00:00:00.019599 vminfo Error: Unable to connect to system D-Bus (1/3): D-Bus not installed
00:00:51.253561 VMMDev: Guest Additions capability report: (0x0 -> 0x0) seamless: no, hostWindowMapping: no, graphics: no
00:00:56.243987 VMMDev: Guest Log: 00:00:05.021831 vminfo Error: Unable to connect to system D-Bus (2/3): D-Bus not installed
And Docker Quickstart Terminal stops with message: Waiting for an IP...
Here are some details:
DockerToolbox-19.03.1
VirtualBox-6.1.12-139181-Win
I also enabled virtualisation in BIOS.
Here are some things I tried but no luck:
Close/stop running default VM created in Oracle VM VirtualBox manager
Manually start it and close again with option Send the shutdown signal
Run Docker Quickstart Terminal again.
Same question asked previously Here but provided answer is not working.
Thanks in advance.

This same problem was faced by me. What I did
Step 1 uninstall the toolbox
Step 2 download a .exe file
Step 3 normally install it.
https://youtu.be/ntBCU7cZJ1I
Step4 restarted the system
Step 5 clicked on docker toolbox and let it wait.
The point where the it looks for ip address took a long time. And I waited patiently this time
And finally it worked

Related

Docker QuickStart Terminal not opening only when administrator authority given

I am a beginner in Docker. My OS is Windows 10 and I've done following command before on PowerShell since Docker didn't work.
docker-machine create default --virtualbox-no-vxt-check
It actually worked and Docker terminal was opened without administrator authority. However, without authority I can't use some command for example mkdir.
Now I got following error when I open with administrator authority.
Error setting up host only network on machine start: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm default --nic2 hostonly --nictype2 82540EM --nicpromisc2 deny --hostonlyadapter2 VirtualBox Host-Only Ethernet Adapter #2 --cableconnected2 on failed:
VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at line 529 of file VBoxManageModifyVM.cpp
Looks like something went wrong in step ´Checking status on default´... Press any key to continue...
Please help me to find out what is the problem. Thank you.

Error in driver during machine creation - docker

I'm newbie with Docker, I try to create docker machine on my windows 10 (Home ver unfort.).
1st command I use "docker-machine create -d virtualbox anewmachine" which gave me following error:
"This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory",
Then I found solution for the above error on stack, that is "docker-machine create default --virtualbox-no-vtx-check". This one seems working but ended up to the following error:
Running pre-create checks...
Creating machine...
(default) Copying C:\Users\The Kash\.docker\machine\cache\boot2docker.iso to C:\Users\The
Kash\.docker\machine\machines\default\boot2docker.iso...
(default) Creating VirtualBox VM...
(default) Creating SSH key...
(default) Starting the VM...
(default) Check network to re-create if needed...
(default) Windows might ask for the permission to configure a dhcp server. Sometimes, such
confirmation window is minimized in the taskbar.
Error creating machine: Error in driver during machine creation: Unable to start the VM:
B:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm default --type headless failed:
VBoxManage.exe: error: Call to VidMessageSlotMap failed: Last=0xc000000d/87
(VERR_NEM_VM_CREATE_FAILED)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface
IConsole
Please help me.

Docker Windows 7: Could not find matching IP for MAC address error

I have been running Docker on my windows with Docker ToolBox all fine for last 6 months. Suddenly, when starting my docker console I started getting following error:
Error creating machine: Error running provisioning: Could not find matching IP for MAC address 0800270a0700
I came across many threads on GitHub and SO and most of the people suggested completely removing Docker setup including Virtual Box and re-installing it. Which I did however I am getting the same error even on a clean set up.
I tried following things so far:
Clean re-install of docker and Virtual Box
Making sure that all the docker related folders that I find are removed before the next install(Removed both .docker and .virtualbox folders)
also removed default docker-machine on existing set up after the new installation failed by doing docker-machine rm default
Also, one thing to notice that when I do a clean install, I can see that when I fire up the docker quickstart for the first time it starts everything from the scratch except one thing. I see this message that it
Found a new host-only adapter: "VirtualBox Host-Only Ethernet Adapter#2
Which raises the questions that if if found it then it must not be new right? and also why is it #2? why not #1 or no number? The reason I am bringing this up is because I am suspecting that when a clean-install happens, it is really not clean, I think it is getting some screwed up settings from somewhere and that somewhere can very well be this network adapter
If I look at the logs inside the Docker-machine then logs look like following. Now sure if that is any help
00:00:48.657014 VMMDev: Guest Log: 00:00:00.009234 vminfo rtldrNativeLoad: dlopen('libdbus-1.so.3', RTLD_NOW | RTLD_LOCAL) failed: libdbus-1.so.3: cannot open shared object file: No such file or directory
00:00:48.657044 VMMDev: Guest Log: 00:00:00.009268 vminfo Error: Unable to connect to system D-Bus (1/3): D-Bus not installed
00:00:48.659892 VMMDev: Guest Additions capability report: (0x0 -> 0x0) seamless: no, hostWindowMapping: no, graphics: no
00:00:48.805170 NAT: IPv6 not supported
00:00:50.624628 NAT: DHCP offered IP address 10.0.2.15
00:00:50.624913 NAT: DHCP offered IP address 10.0.2.15
00:00:53.656655 VMMDev: Guest Log: 00:00:05.010825 vminfo Error: Unable to connect to system D-Bus (2/3): D-Bus not installed
00:00:58.658074 VMMDev: Guest Log: 00:00:10.012264 vminfo Error: Unable to connect to system D-Bus (3/3): D-Bus not installed
00:01:00.230853 VMMDev: SetVideoModeHint: Got a video mode hint (800x600x0)#(0x0),(1;0) at 0
00:01:44.873806 Changing the VM state from 'RUNNING' to 'SUSPENDING'
00:01:45.187049 PDMR3Suspend: 313 213 266 ns run time
00:01:45.187066 Changing the VM state from 'SUSPENDING' to 'SUSPENDED'
00:01:45.187073 Console: Machine state changed to 'Paused'
00:01:48.209792 Changing the VM state from 'SUSPENDED' to 'RESUMING'
00:01:48.247728 Changing the VM state from 'RESUMING' to 'RUNNING'
00:01:48.247754 Console: Machine state changed to 'Running'
00:06:42.762538 Changing the VM state from 'RUNNING' to 'SUSPENDING'
00:06:42.958664 PDMR3Suspend: 196 100 930 ns run time
00:06:42.958705 Changing the VM state from 'SUSPENDING' to 'SUSPENDED'
00:06:42.958714 Console: Machine state changed to 'Paused'
I have had no luck so far. Any help?
Are you using a VPN like Citrix? If so, disconnect it and then try to create the machine.

Unable to run Docker command

I have installed Docker for Windows, and trying the run a simple command, but I am getting the below error:
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.29/containers/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.
Screenshot:
Update:
I just reinstalled Docker on my machine (Windows 10), but now I am getting a VirtualBox error. Anything I am missing here?
Starting "default"...
(default) Check network to re-create if needed...
(default) Windows might ask for the permission to create a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
(default) Creating a new host-only adapter produced an error: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe hostonlyif create failed:
(default) 0%...
(default) Progress state: E_INVALIDARG
(default) VBoxManage.exe: error: Failed to create the host-only adapter
(default) VBoxManage.exe: error: Assertion failed: [!aInterfaceName.isEmpty()] at 'F:\tinderbox\win-5.1\src\VBox\Main\src-server\HostNetworkInterfaceImpl.cpp' (74) in long __cdecl HostNetworkInterface::init(class com::Bstr,class com::Bstr,class com::Guid,enum __MIDL___MIDL_itf_VirtualBox_0000_0000_0038).
(default) VBoxManage.exe: error: Please contact the product vendor!
(default) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
(default) VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp
(default)
(default) This is a known VirtualBox bug. Let's try to recover anyway...
Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
Looks like something went wrong in step ´Checking status on default´... Press any key to continue...
It's seems your docker daemon is not running. Please start your docker as service.Please use this as reference: https://www.coretechnologies.com/products/AlwaysUp/Apps/StartDockerDaemonAsAWindowsService.html

Docker Kitematic connect ETIMEDOUT error

Starting Kitematic on Windows 10 gives me this error
Error: connect ETIMEDOUT 198.105.254.24:2375
I'm already running 'default' vm in VirtualBox. The only way to start Kitematic is to hit the 'USE VIRTUALBOX' button.
Why won't Kitematic start unless I click 'USE VIRTUALBOX' button? I've already got VirtualBox running the 'default' vm successfully...
I commented on the docker / kitematic Github issues page and one of the participants told me to simply click USE VIRTUALBOX button to use VirtualBox on Windows since they are in favor of Docker for Windows.
https://github.com/docker/kitematic/issues/1029#issuecomment-226974739
You can turn off Hyper-V in your system, then reboot and click run VirtualBox next time.
I faced the same error. Below solution worked for me:
Deleted the folder C:\Users\{Account_name}\.docker
Clicked on the "Retry setup" button on Kitematic. It re-created C:\Users\{Account_name}\.docker with a new default machine. Error : connect ETIMEDOUT 192.168.xxx.xxx:2376 disappeared but faced new error: C:\Users\{Account_name}\.docker\machine\machines\default\ca.pem does not exist
Copied all certificate files from C:\Users\{Account_name}\.docker\machine\certs to C:\Users\{Account_name}\.docker\machine\machines\default. Then I got error
Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.xxx.xxx:2376"
Regenerated certificates for default machine by running below command on Command Prompt.
docker-machine regenerate-certs default
It showed below output:
Regenerate TLS machine certs? Warning: this is irreversible. (y/n): y
Regenerating TLS certificates
Waiting for SSH to be available...
Detecting the provisioner...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
After this, I was able to access default machine through Kitematic GUI. I figured that issue was due to TLS connection and these steps fixed it.

Resources