[
https://issues.jboss.org/browse/JBIDE-20737?page=com.atlassian.jira.plugi...
]
Misha Ali commented on JBIDE-20737:
-----------------------------------
[~ldimaggio], have a look at the text here and if it looks OK to you, I'll add it
(with a screenshot) to the Docker Troubleshooting section:
Attempting to connect to a running local Docker instance as a non-root user results in
errors being logged, but not displayed in the User Interface, which results in the error
being non-obvious. The following workarounds are available for this problem:
* Run Eclipse as root. This solution avoids the problem but is not the recommended
solution.
* Connect to the Docker instance manually. Define a custom configuration file and specify
the TCP URL displayed by the ststemctl status docker service. As an example, you can use a
TCP URL such as tcp://0.0.0.0:2375 to connect to the running Docker instance instead of
the default unix:///var/run/docker.sock configuration file.
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: Misha Ali
Fix For: 4.3.1.Final
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)