Comments (5)
Hi @rwmajor2,
No it won't solve such errors as it simply replaces autovalue with immutables not Guava entirely. However, this seems like a bug to me, does it happen consistently?
from docker-client.
@dmandalidis One more random question; sorry this is not on topic of this issue. Should I always be diligent to docker.close() any docker connections I create? Seems like I have a memory leak in my application but I noticed I don't .close() any of my connections that I create.
from docker-client.
@rwmajor2 as a general rule of thumb you should always close the connections you open and if you don't, you have the ideal memory leak candidate :) However, constructing a new DockerClient
each time is very expensive since two javax.ws.rs.client.Client
are created along. The Jersey implementation guarantees thread safety but I will need to check if the DefaultDockerClient
has the same guarantees which is actual the answer to your comment in #45.
from docker-client.
@dmandalidis Ok, thanks. I had tried to reuse a DockerClient instance for each thread but kept running into problems reusing it. But, perhaps I didn't know what I was doing exactly.
from docker-client.
Hi @rwmajor2
Spent some time investigating the thread safety issues you mentioned here and in #45. To my understanding, the DefaultDockerClient
is thread-safe. I 'm closing this issue, and if I 'm wrong, please open a bug with a code-block reproducing the problem.
from docker-client.
Related Issues (20)
- appendBinds has been removed but usage doc still uses it
- Make it possible or default to or default to restricting containers from acquiring additional privileges HOT 1
- Handle 409 status when creating/removing container
- RHEL8 and podman support HOT 1
- SocketReadTimeoutException in blocking calls when response is container's responsibility
- Question: How to make consecutive Docker calls? HOT 2
- Support swarm jobs
- Support job status for swarm jobs
- Mark deprecations of v1.41
- Support CgroupVersion from `/info`
- Support OSVersion in `/info`
- [resteasy] Reading events without `until` parameter blocks indefinitely on close HOT 2
- conflicting jaxrs/jersey versions in 5.x HOT 1
- [BUG] NetworkingConfig has no builder
- Update to JAX-RS 3
- Wrong version of JAXRS API
- ContainerStats no longer works with 5.0.1 HOT 3
- Commons base 64 import without dependency (assumes it comes with jersey)? HOT 3
- ContainerInspect on PortBindings throws NullPointerException on Podman Installation HOT 5
- Capabilities should be a list of lists of strings HOT 1
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-client.