You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Paul Court (Jira)" <ji...@apache.org> on 2019/10/18 09:58:00 UTC

[jira] [Commented] (NETBEANS-2509) Unable to connect to docker via socket

    [ https://issues.apache.org/jira/browse/NETBEANS-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16954455#comment-16954455 ] 

Paul Court commented on NETBEANS-2509:
--------------------------------------

Hi. Sorry if this is the wrong place, as the description is a little different but the title matches my problem exactly.

I cannot connect to my local docker socket. I have tried this with 11.1 and 11.2 and cannot get it to work.

I have verified the socket is functioning and is available to my user via:-
{code:java}
$ docker -H unix:///run/docker.sock images 
REPOSITORY                 TAG                 IMAGE ID            CREATED             SIZE
hm-tps_hmtps-nginx-proxy   latest              a26c31e2bc0c        32 minutes ago      33.9MB
hm-tps_hmtps-fpm-backend   latest              429b50fff6d0        32 minutes ago      193MB
mysql                      5.7                 cd3ed0dfff7e        29 hours ago        437MB
php                        7.3-fpm-alpine      b817a793087a        13 days ago         80.7MB
... {code}
However, in netbeans when I try to "Add Docker" and use the same socket, I just get "Cannot establish connection."

!image-2019-10-18-10-56-48-182.png!

 

> Unable to connect to docker via socket
> --------------------------------------
>
>                 Key: NETBEANS-2509
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2509
>             Project: NetBeans
>          Issue Type: Bug
>          Components: docker - UI
>    Affects Versions: 11.0
>            Reporter: Bartosz Tomasik
>            Assignee: Bartosz Tomasik
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: Next
>
>         Attachments: image-2019-10-18-10-56-48-182.png
>
>          Time Spent: 7h 40m
>  Remaining Estimate: 0h
>
> "Add Docker instance" dialog ismissing option to connect via unix socket.
> This is probably due to following lines commented out: [https://github.com/apache/netbeans/blame/master/ide/docker.api/src/org/netbeans/modules/docker/api/DockerSupport.java#L133-L137]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists