Comments (6)
Please consider my response in #50.
Could you check if it works now for you
from docker-it-scala.
well the scalatest version of the test is working, the specs2 version is producing the above error.
from docker-it-scala.
Any chance you are using docker4mac?
I think default executor based on https://github.com/docker-java/docker-java library is not compatible with it. In scalatest example it is overriden with Spotify's one
from docker-it-scala.
no this is on ubuntu 16.04.
so i added
override implicit val dockerFactory =
new SpotifyDockerFactory(DefaultDockerClient
.builder
.uri("unix:///var/run/docker.sock")
.build())
to our test, but this makes the test being ignored. i see:
2016-08-31 14:34:28,722 [ jersey-client-async-executor-0] DEBUG org.apache.http.client.protocol.RequestAddCookies
CookieSpec selected: default
2016-08-31 14:34:28,752 [ jersey-client-async-executor-0] DEBUG org.apache.http.client.protocol.RequestAuthCache
Auth cache not set in the context
2016-08-31 14:34:28,754 [ jersey-client-async-executor-0] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager
Connection request: [route: {}->unix://localhost:80][total kept alive: 0; route allocated: 0 of 100; total allocated: 0 of 100]
2016-08-31 14:34:28,774 [ jersey-client-async-executor-0] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager
Connection leased: [id: 0][route: {}->unix://localhost:80][total kept alive: 0; route allocated: 1 of 100; total allocated: 1 of 100]
2016-08-31 14:34:28,776 [ jersey-client-async-executor-0] DEBUG org.apache.http.impl.execchain.MainClientExec
Opening connection {}->unix://localhost:80
Test ignored.Disconnected from the target VM, address: '127.0.0.1:36425', transport: 'socket'
from docker-it-scala.
Logging suggests that something goes wrong with configuration. Anybody else can reproduce it or encountered this issue before?
from docker-it-scala.
No response from anybody and it looks outdated. Closing
from docker-it-scala.
Related Issues (20)
- Missing support for running container in privileged mode HOT 1
- Concurrency issues on logs
- No support for UDP?
- Timeout or Race condition resulting in Cannot run all required containers HOT 1
- Shutdown connection before running tests HOT 1
- Pulling image timeout gives an error message about not being able to pull windows image
- Publish v0.9.7 for 2.11 ? HOT 1
- Plans to publish a jar with shaded spotify docker-client? HOT 8
- Setup steps unclear HOT 2
- PostgresServiceSpec fails with driver libraries from 42 HOT 1
- Allow pausing/unpausing of containers in DockerExecutor
- Release for Scala 2.13 HOT 5
- run unpublished docker image with whisk labs docker-it-scala HOT 1
- Incompatible with ScalaTest's AsyncTestSuite
- Issues with SBT 1.3.x
- An image without a tag pulls all tags
- Persisting container across multiple test classes
- withUnlinkedDependencies not starting dependent container
- DockerContainer should have an option to configure withIpv6Address and withExtraHosts
- Missing release for docker-testkit-impl-docker-java 0.11.0 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-it-scala.