You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We see the symptom with both macOS docker desktop & k8s cluster with docker:dind.
Symptom
Our application use dockerClient.execStartCmd to run some commands in the container, and wrap the logic with rxJava as syntax sugar so we can use something like this in our code:
It all works fine until recently we upgraded to run the app along with docker:24.0.6-dind, the app would hang if the command we run complete fast. After debugging, we noticed that onComplete callback method never get trigger.
We also test various dind version, and they all works. Also, we don't see any similar issue if we execute slower commands(i.e. sleep 0.5). We highly suspect it is some behaviour change in latest dind, but can't find anything useful from it.
How to reproduce it
We managed to reproduce the issue with following test code:
Version that have issue
We see the symptom with both macOS docker desktop & k8s cluster with
docker:dind
.Symptom
Our application use
dockerClient.execStartCmd
to run some commands in the container, and wrap the logic with rxJava as syntax sugar so we can use something like this in our code:It all works fine until recently we upgraded to run the app along with
docker:24.0.6-dind
, the app would hang if the command we run complete fast. After debugging, we noticed thatonComplete
callback method never get trigger.We also test various dind version, and they all works. Also, we don't see any similar issue if we execute slower commands(i.e. sleep 0.5). We highly suspect it is some behaviour change in latest
dind
, but can't find anything useful from it.How to reproduce it
We managed to reproduce the issue with following test code:
With dind contianer started:
docker run --privileged -d \ -e DOCKER_TLS_CERTDIR='' \ -p 2375:2375 \ --name dind docker:24.0.6-dind
Let me know if there is other info you need me to provide.
Thanks in advance.
Leo Liang
The text was updated successfully, but these errors were encountered: