Skip to content

Auto update failed #6268

@jsma

Description

@jsma
  • I applied the auto-update from 4.6.1 to 4.7.0, clicked to restart.
  • Docker closed and never reopened.
  • I ran docker ps from the command line:
-bash: docker: command not found
  • I manually navigate to Applications to launch:

Screen Shot 2022-04-07 at 11 15 10 AM

Expected behavior

The update would succeed

Actual behavior

The update uninstalled the old version but encountered some sort of issue when downloading the update, resulting in a corrupted file about 50% of the size it should have been (also note the wacky "Created" date):

Screen Shot 2022-04-07 at 11 21 52 AM

After manually downloading the update, the correct file size is shown:

Screen Shot 2022-04-07 at 11 22 31 AM

There were no obvious network disruptions during the update. But even if there were, Docker Desktop should be smart enough to detect these conditions before uninstalling the old version so the user at least has a working previous version on their system and can retry the download/update process.

Does this mean that Docker doesn't even validate the integrity of the downloaded update before installing software that requires a admin password to install?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions