[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 13:01:00 EDT 2015


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

Len DiMaggio edited comment on JBIDE-20737 at 9/18/15 1:00 PM:
---------------------------------------------------------------

The expected behavior for this function should be:

1) Root User starts Docker - user does not have to define any Docker-specific env variables before starting JBDS or Eclipse/JBT
2) Non-root user opens JBDS or Eclipse/JBT, opens the Docker explorer
3) Non-root user creates a new connection to Docker - accepts all defaults - in other words, entered no custom config data
4) Docker explorer/tooling finds the local/running Docker and establishes a connection

And - if step 4 fails, an informative error message is displayed to the user in the Eclipse UI




was (Author: ldimaggio):
The expected behavior for this function should be:

1) Root User starts Docker
2) Non-root user opens JBDS or Eclipse/JBT, opens the Docker explorer
3) Non-root user creates a new connection to Docker - accepts all defaults - in other words, entered no custom config data
4) Docker explorer/tooling finds the local/running Docker and establishes a connection

And - if step 4 fails, an informative error message is displayed to the user in the Eclipse UI



> 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
>         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