[jbosstools-issues] [JBoss JIRA] (JBIDE-20737) On Linux, non-root user us not able to use auto-detect to access running Docker instance

Len DiMaggio (JIRA) issues at jboss.org
Fri Sep 18 15:09:00 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13110552#comment-13110552 ] 

Len DiMaggio commented on JBIDE-20737:
--------------------------------------

Seeing the same behavior on RHEL7 with CR1-respin-a, for a non-root user, this error is logged, but not displayed in the UI, when a non-root user attempts to access a local running Docker, it fails - these errors are logged:

!ENTRY org.eclipse.linuxtools.docker.core 2 0 2015-09-18 14:56:28.454
!MESSAGE Could not find default settings to connect to a local Docker daemon

!ENTRY org.eclipse.linuxtools.docker.ui 4 0 2015-09-18 14:56:36.520
!MESSAGE Failed to ping the Docker daemon
!STACK 0
org.eclipse.linuxtools.docker.core.DockerException: Failed to ping the Docker daemon
	at org.eclipse.linuxtools.internal.docker.core.DockerConnection.ping(DockerConnection.java:599)
	at org.eclipse.linuxtools.internal.docker.ui.wizards.NewDockerConnectionPage$8$1.run(NewDockerConnectionPage.java:521)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

> On Linux, non-root user us not able to use auto-detect to access running Docker instance 
> -----------------------------------------------------------------------------------------
>
>                 Key: JBIDE-20737
>                 URL: https://issues.jboss.org/browse/JBIDE-20737
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: docker
>    Affects Versions: 4.3.0.CR1
>         Environment: RHEL 7
> OpenJDK 1.8
> Version: 9.0.0.CR1
> Build id: CR1-v20150912-1100-B100
> Build date: 20150912-1100
> CR1 includes:
> com.spotify.docker.client_3.1.1.jar
> org.eclipse.linuxtools.docker.core_1.1.0.201509082008.jar
> org.eclipse.linuxtools.docker.docs_1.1.0.201509082008.jar
> org.eclipse.linuxtools.docker.ui_1.1.0.201509082008.jar
>            Reporter: Len DiMaggio
>            Assignee: Xavier Coulon
>              Labels: respin-a
>             Fix For: 4.3.0.CR1
>
>         Attachments: nonroot_1.png, nonroot_2.png, nonroot_3.png, root.png
>
>
> On linux, a root user is able to rely on autoconnect to automatically connect to a running Docker instance (at unix:///var/run/docker.sock)
> A non-root user is not able to connect. No warning or error is written to the UI/dialog.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list