diff options
author | Marcus Tillmanns <[email protected]> | 2023-03-21 09:43:10 +0100 |
---|---|---|
committer | Marcus Tillmanns <[email protected]> | 2023-03-21 14:09:33 +0000 |
commit | 97c1bb53a501316505aec76e6e7b7222debaf60c (patch) | |
tree | 7ee988b7e8bed563f24934058299f91d737e90c9 /src/plugins/docker/dockerdevice.h | |
parent | 65814b124c2dcbd59f9bbd91a9c04c355ae37d4d (diff) |
Docker: Check Image available
Docker will try to download images from the registry if an image is
not available locally. This takes a while, even if the image is not
available remotely. To circumvent the hangs resulting from this we
first check if the image is available locally and if it is not we do
not try to start it.
Fixes: QTCREATORBUG-28880
Change-Id: I6b9de8601b87e3050ae9ac5f1bbe3fa9701d4cc1
Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/docker/dockerdevice.h')
-rw-r--r-- | src/plugins/docker/dockerdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/docker/dockerdevice.h b/src/plugins/docker/dockerdevice.h index 38e9956a230..affe4cf2714 100644 --- a/src/plugins/docker/dockerdevice.h +++ b/src/plugins/docker/dockerdevice.h @@ -95,7 +95,7 @@ public: void setData(const DockerDeviceData &data); - void updateContainerAccess() const; + bool updateContainerAccess() const; void setMounts(const QStringList &mounts) const; bool prepareForBuild(const ProjectExplorer::Target *target) override; |