-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I'm trying to figure this out.
I'm running an application which uses tugboat within a docker container and mounts /var/run/docker.sock from the host. Running regular docker commands form the command line within the docker container works. However, running commands within tugboat fails with the following:
java.net.ConnectException: http://localhost/_ping
at com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:103) ~[com.ning.async-http-client-1.8.10.jar:na]
at org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:431) ~[io.netty.netty-3.9.6.Final.jar:na]
at org.jboss.netty.channel.DefaultChannelFuture.addListener(DefaultChannelFuture.java:145) ~[io.netty.netty-3.9.6.Final.jar:na]
at com.ning.http.client.providers.netty.NettyAsyncHttpProvider.doConnect(NettyAsyncHttpProvider.java:1138) ~[com.ning.async-http-client-1.8.10.jar:na]
at com.ning.http.client.providers.netty.NettyAsyncHttpProvider.execute(NettyAsyncHttpProvider.java:935) ~[com.ning.async-http-client-1.8.10.jar:na]
at com.ning.http.client.AsyncHttpClient.executeRequest(AsyncHttpClient.java:499) ~[com.ning.async-http-client-1.8.10.jar:na]
...
Caused by: java.nio.channels.UnresolvedAddressException: null
at sun.nio.ch.Net.checkAddress(Net.java:123) ~[na:1.8.0_40-internal]
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:622) ~[na:1.8.0_40-internal]
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(NioClientSocketPipelineSink.java:108) ~[io.netty.netty-3.9.6.Final.jar:na]
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:70) ~[io.netty.netty-3.9.6.Final.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779) ~[io.netty.netty-3.9.6.Final.jar:na]
Any idea?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels