[JIRA] (JENKINS-58982) Jenkins unable to connect to Windows Docker Toolbox Daemon

4 views
Skip to first unread message

duttnilanjan@gmail.com (JIRA)

unread,
Aug 19, 2019, 12:00:02 AM8/19/19
to jenkinsc...@googlegroups.com
NILANJAN DUTTA created an issue
 
Jenkins / Task JENKINS-58982
Jenkins unable to connect to Windows Docker Toolbox Daemon
Issue Type: Task Task
Assignee: Carlos Sanchez
Attachments: image-2019-08-19-09-26-35-730.png
Components: docker
Created: 2019-08-19 03:59
Environment: Windows 7,Windows Docker ToolBox, Docker version 18.03.0-ce, build 0520e24302,Jenkins,Jenkins ver. 2.164.2
Labels: jenkins docker windows
Priority: Blocker Blocker
Reporter: NILANJAN DUTTA

I have installed Docker ToolBox for Windows and Jenkins in my Windows 7 Desktop.I am attempting to create a Jenkins Job which will list down docker images available. However, in doing so I am getting the following error :-
Started by user
Nilanjan Dutta
Building on master in workspace C:\Program Files (x86)\Jenkins\workspace\Docker
[Docker] $ cmd /c call C:\Windows\TEMP\jenkins1754863637345314489.bat

C:\Program Files (x86)\Jenkins\workspace\Docker>docker images
error during connect: Get
http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.37/images/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.

C:\Program Files (x86)\Jenkins\workspace\Docker>exit 1
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
I have tried adding the jenkins user in "docker users" group but I could not find the group in "Local Users and Groups" in Computer Management. Please refer the image below :- 

My target is ultimately creating a CI pipeline in Jenkins where I need to build my docker image and push it to docker hub. But I am stuck in this phase and unable to proceed.

Please note that my Jenkins is a standalone installation and not a Docker Container

Below is my Docker version :- Docker version 18.03.0-ce, build 0520e24302

I am relatively new to Docker and Jenkins and is unable to proceed due to the above issue. Any help is immensely appreciated.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

duttnilanjan@gmail.com (JIRA)

unread,
Aug 19, 2019, 1:54:02 AM8/19/19
to jenkinsc...@googlegroups.com
NILANJAN DUTTA assigned an issue to openopen openopen
Change By: NILANJAN DUTTA
Assignee: Carlos Sanchez openopen openopen
Reply all
Reply to author
Forward
0 new messages