Repository navigation
One fix, and it matters: the engine starts again after an unclean shutdown. Version française plus bas.
Fixed
-
The engine no longer refuses to start after a crash or a power cut. If Windows went down while containers were running, the next start could fail with dockerd did not start in time — and fail again on every retry, with no simple way out.
When Docker comes back after an unclean stop, it restarts the containers that were running. If one of them mounts a Windows folder, Docker reads that folder before it answers. Solon only opened its file sharing once Docker had answered. Each waited for the other until the 90-second limit.
File sharing now opens before Solon waits for Docker. On the development machine: three failed starts in a row at 90 seconds, then ready in 5.1 seconds with the fix.
You were exposed if a container with a
restart:policy mounts a folder from your PC, and the PC stopped without shutting Solon down. A normal stop was never affected.
Also
- The end-to-end test now checks that a container's error output reaches
docker logsand a foregrounddocker run. A user reported it missing on Windows 11 Home build 26300 (#13); I could not reproduce it with the same versions, in a console or when captured. If you see it, please say so there.
Installation
Download Solon_0.2.2_x64-setup.exe and check its SHA-256 against SHA256SUMS.txt, or run solon update. Installing over 0.2.x or any 0.1.x keeps your images, containers, volumes and settings.
Français
Une seule correction, mais elle compte : le moteur redémarre après un arrêt brutal.
Le moteur ne refuse plus de démarrer après un plantage ou une coupure de courant. Si Windows s'arrêtait pendant que des conteneurs tournaient, le démarrage suivant pouvait échouer avec « dockerd n'a pas démarré dans le délai » — et échouer de nouveau à chaque essai, sans issue simple.
Quand Docker revient après un arrêt qui n'était pas propre, il relance les conteneurs qui tournaient. Si l'un d'eux utilise un dossier Windows, Docker lit ce dossier avant de répondre. Or Solon n'ouvrait son partage de fichiers qu'une fois que Docker avait répondu. Chacun attendait l'autre, jusqu'à la limite de 90 secondes.
Le partage de fichiers s'ouvre maintenant avant que Solon n'attende Docker. Sur la machine de développement : trois échecs de suite à 90 secondes, puis moteur prêt en 5,1 secondes avec la correction.
Vous étiez exposé si un conteneur avec une règle restart: utilise un dossier de votre PC, et que le PC s'est arrêté sans arrêter Solon. Un arrêt normal n'a jamais été touché.
Aussi. Le test de bout en bout vérifie désormais que la sortie d'erreur d'un conteneur arrive dans docker logs et dans un docker run au premier plan. Un utilisateur a signalé qu'elle manquait sous Windows 11 Famille build 26300 (#13) ; je n'ai pas réussi à le reproduire avec les mêmes versions, ni en console ni en sortie capturée.
Installer par-dessus la 0.2.x ou n'importe quelle 0.1.x conserve images, conteneurs, volumes et réglages. Vérifiez le SHA-256 avec SHA256SUMS.txt, ou lancez solon update.