-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Engine socket on container becomes unusable after Engine crash #282
Comments
[lmbarros] This issue has attached support thread https://jel.ly.fish/41b56e32-5fae-4a2e-b5bb-05f9f5af1f0f |
I have an example of this issue here: https://github.com/machinemetrics/docker-socket |
Another repro courtesy of @lmbarros: https://github.com/balena-io-playground/engine-on-container-socket-lost-test |
Did a couple more quick tests:
|
I suspect this would be resolved by balena-os/balena-supervisor#1780 |
@klutchell Do you know if there's still a plan to get that fix in? If there's any way me and my team could help test this out this issue has been a real thorn in our side |
Hey @deanMike, I have requested updates on the linked PR: balena-os/balena-supervisor#1780 |
If we start a container with the label
io.balena.features.balena-socket: '1'
set, this container will have access to the Engine socket. However, if the Engine crashes on the Host OS, that container will no longer be able to connect to the Engine (even after the Engine restarts on the HostOS). Attempting to run Docker on the container will fail withThis can be easily reproduced by
SIGKILL
ingbalenad
on the Host OS and then trying to run Docker or balenaEngine on a container where it was previously working.This is arguably on the border between the Supervisor (that sets the mounts and shares up) and the Engine (that implements the mechanisms).
The text was updated successfully, but these errors were encountered: