File tree Expand file tree Collapse file tree
src/main/java/com/github/dockerjava/jaxrs Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010import com .github .dockerjava .api .command .EventsCmd ;
1111import org .glassfish .jersey .client .ClientConfig ;
1212import org .glassfish .jersey .client .ClientProperties ;
13+ import org .glassfish .jersey .CommonProperties ;
1314
1415import com .fasterxml .jackson .jaxrs .json .JacksonJsonProvider ;
1516import com .github .dockerjava .api .command .AttachContainerCmd ;
@@ -63,6 +64,7 @@ public void init(DockerClientConfig dockerClientConfig) {
6364 Preconditions .checkNotNull (dockerClientConfig , "config was not specified" );
6465
6566 ClientConfig clientConfig = new ClientConfig ();
67+ clientConfig .property (CommonProperties .FEATURE_AUTO_DISCOVERY_DISABLE , true );
6668
6769 clientConfig .register (ResponseStatusExceptionFilter .class );
6870 clientConfig .register (JsonClientFilter .class );
You can’t perform that action at this time.
0 commit comments