[SOLVED] Docker packet issue

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
yoann.montouchet
Messages: 31
Registration: January 10, 2025 - 6:32 PM

June 10, 2025 - 11:59

Good morning,
We use the package packed by Tranquil-IT for Docker Desktop, we have noticed the absence of updates to this package since version 4.40, for Windows.
For macOS, more recent versions have been packaged by luti without any problems (and install well, no problems for us).
We tried the update package, which runs fine, but the resulting packages do not install.
We get an error at the end of the installation:

Code: Select all

Fatal error : Setup Docker Desktop Installer.exe has been executed and key Docker Desktop has been found in the registry, but version in registry does not match requirements of min_version=4.42.0
The explanation seems to stem from the fact that when executing the "update package", it assumes the binary is already present and should not be replaced:

Code: Select all

URL used is: https://docs.docker.com/desktop/release-notes/
Latest Docker Desktop version is: 4.42.0
Download URL is: https://desktop.docker.com/win/main/amd64/195023/Docker%20Desktop%20Installer.exe
Binary is present: Docker Desktop Installer.exe
Software version updated (from: 4.40.0 to: 4.42.0)
In practice, it systematically installs version 4.40 of Docker Desktop, the version we had packaged before launching the "update package".

In the code, I see that it relies solely on the name to determine whether the file already exists or not:

Code: Select all

    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)
I think that's what's causing the problem. It's not downloading the new version even though the link points to a new version (the version in the downloaded executable is indeed 4.42), because a file with the same name as the one it wants to download is already present.
Is that why Luti isn't packaging new versions?

For my part, I propose removing this block which is not useful for Docker Desktop, since all installation binaries always have the same name.
I'm going to do this locally to confirm that it installs correctly, and will update this thread if it does.
yoann.montouchet
Messages: 31
Registration: January 10, 2025 - 6:32 PM

June 10, 2025 - 12:16

So I replaced the block:

Code: Select all

    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)
simply by:

Code: Select all

    print("Downloading: %s" % latest_bin)
    wget(download_url, latest_bin, proxies=proxies)
And it works correctly.
No connection, but I propose adding the argument
--no-windows-containers
In the settings of install_exe_if_needed, this seems very important to me (see https://docs.docker.com/desktop/setup/i ... containers]
Last edited by yoann.montouchet on June 10, 2025 - 12:43, edited 1 time.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 10, 2025 - 12:37

Hello

, the problem is that it doesn't work on Luti because it apparently doesn't work on Windows 11:

https://luti.tranquil.it/history/tis-docker-desktop

Command '"Docker Desktop Installer.exe" install --quiet' returned non-zero exit status 4294967291.

Apparently, this is a known issue: https://github.com/microsoft/winget-pkgs/issues/93495

We need to look into why here ;)
yoann.montouchet
Messages: 31
Registration: January 10, 2025 - 6:32 PM

June 10, 2025 - 12:45

Ah, okay, it works. For me, the update package with my fix worked on version 4.42; I pushed it to our network. So far, the installation is going smoothly, and we have almost exclusively Windows 11.
I don't think it can work with the current code, though, right?
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 10, 2025 - 1:41 PM

yoann.montouchet wrote: June 10, 2025 - 12:45 I think it can't work with the current code anyway, right?
Yes, I confirm regarding the update package.

I'm not really sure about the installation. Here at least on Windows 11 24h2 English, it doesn't work.

I'll try again and see
yoann.montouchet
Messages: 31
Registration: January 10, 2025 - 6:32 PM

June 10, 2025 - 4:54 PM

The large-scale deployment failed miserably, indeed...

Code: Select all

(output))\nwaptutils.CalledProcessErrorOutput: Command \'"Docker Desktop Installer.exe" install --quiet -–no-windows-containers\' returned non-zero exit status 4294967291.\nOutput:\n']]
We rolled back to version 4.40.0 as a result. 🥲
I don't understand why it happened on my machine, but in any case I confirm the problem!
yoann.montouchet
Messages: 31
Registration: January 10, 2025 - 6:32 PM

August 7, 2025 - 08:21

I just saw that Docker Desktop 4.43.2 successfully passed the build via luti, including for Windows 11, which was failing before.
It seems that the applied fixes (I noticed the setup.py file had changed quite a bit), or perhaps something on the Docker side, resolved the issue.
I'm starting a small-scale deployment of this version here; I'll let you know how it goes as soon as possible.

For now, it's working on my machine. :)
I think we'll be able to mark this issue as "resolved" soon!
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

August 8, 2025 - 12:01

Hi Yoann,

did the deployment go smoothly? I'd like to mark this post as resolved. :-)

Regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
yoann.montouchet
Messages: 31
Registration: January 10, 2025 - 6:32 PM

August 8, 2025 - 12:46

Hello Denis,
For the moment I've limited the deployment to 2 workstations, we haven't had any problems, but I'm not going to expand further on a Friday, that would be a bit too risky.
I'll look into expanding at the beginning of the week, I'm quite confident!
yoann.montouchet
Messages: 31
Registration: January 10, 2025 - 6:32 PM

August 11, 2025 - 4:26 PM

Given our current workload, we'll continue with a gradual rollout. We were able to install versions 4.43.2 and 4.44.0 without any issues on some of our machines using the packages that were in testing mode.
I think we can mark this as resolved now...
Thanks!
Locked