for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Container view keeps flashing/updating after upgrade to 4.28.0

Open ErikStrandhSR opened this issue 11 months ago • 29 comments

Description

Since upgrading to 4.28.0 the container view updates and flashes every 1-2 seconds. It becomes hard to use it since any dialogues are closed with every update. Tried to downgrade all the versions down to 4.27.0 but the issue remains in all of them now.

Reproduce

  1. Upgrade to 4.28.0
  2. Open the container view

Expected behavior

No flashing

docker version

Client:
 Cloud integration: v1.0.35+desktop.11
 Version:           25.0.3
 API version:       1.44
 Go version:        go1.21.6
 Git commit:        4debf41
 Built:             Tue Feb  6 21:13:02 2024
 OS/Arch:           windows/amd64
 Context:           default

Server: Docker Desktop 4.28.0 (139021)
 Engine:
  Version:          25.0.3
  API version:      1.44 (minimum version 1.24)
  Go version:       go1.21.6
  Git commit:       f417435
  Built:            Tue Feb  6 21:14:25 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.28
  GitCommit:        ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

docker info

Client:
 Version:    25.0.3
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.12.1-desktop.4
    Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.24.6-desktop.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-compose.exe
  debug: Get a shell into any image or container. (Docker Inc.)
    Version:  0.0.24
    Path:     C:\Program Files\Docker\cli-plugins\docker-debug.exe
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-dev.exe
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.22
    Path:     C:\Program Files\Docker\cli-plugins\docker-extension.exe
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.4
    Path:     C:\Program Files\Docker\cli-plugins\docker-feedback.exe
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.0.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-init.exe
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-sbom.exe
  scout: Docker Scout (Docker Inc.)
    Version:  v1.5.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-scout.exe

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 25.0.3
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc version: v1.1.12-0-g51d5e94
 init version: de40ad0
 Security Options:
  seccomp
   Profile: unconfined
 Kernel Version: 5.15.146.1-microsoft-standard-WSL2
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 3.827GiB
 Name: docker-desktop
 ID: 8f18ccb3-63e0-420f-a085-48bcd7285d53
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5555
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
WARNING: daemon is not using the default seccomp profile

Diagnostics ID

6E5ADDAD-28C7-4111-A996-E6D466CACED8/20240314223348

Additional Info

No response

ErikStrandhSR avatar Mar 14 '24 22:03 ErikStrandhSR

I have this exact same issue, and i also had it in the previous version of docker desktop. I have searched for a fix but have not found anyone asking about this until i found this.

CaptainGooseFat avatar Mar 15 '24 12:03 CaptainGooseFat

can you share a video capture with the issue?

bsousaa avatar Mar 18 '24 10:03 bsousaa

Sorry but i can't, my company blocks the installation of screen recording software. Can i describe it better for you? What happens is that the contents of the Containers view "reloads" approximately every 1-2 seconds. Everything except for the text "Containers" and "Give feedback" at the top and the bar at the bottom that shows "Ram", "CPU" and "Signed in" flashes and reloads. The side menu (Containers, Images, Volumes etc) does not flash, only the contents to the right.

I hope that helps? Thanks

CaptainGooseFat avatar Mar 18 '24 15:03 CaptainGooseFat

I can confirm, this is happening on my machine also. Interestingly, this is also happening on the Volumes view, but not on the images nor Builds view.

thkerkmann-rwe avatar Mar 21 '24 09:03 thkerkmann-rwe

I checked my Volumes view now after reading your comment, and i can confirm that this is the case for me too. Both the Containers view and Volumes view flashes for me too.

CaptainGooseFat avatar Mar 21 '24 09:03 CaptainGooseFat

I'm experiencing the same issue. Got the same docker version as @CaptainGooseFat

fruttyh avatar Mar 26 '24 11:03 fruttyh

Are anyone looking into this? It's driving me crazy

CaptainGooseFat avatar Mar 27 '24 07:03 CaptainGooseFat

Any news on this?

CaptainGooseFat avatar Apr 30 '24 10:04 CaptainGooseFat

Just to add: I updated to 4.29.0 just now and the problem persists.

CaptainGooseFat avatar Apr 30 '24 12:04 CaptainGooseFat

Could be related to Windows (version / drivers / ...) as I have it on one machine, but not on another. Might it be related to video driver?

thkerkmann-rwe avatar Apr 30 '24 12:04 thkerkmann-rwe

Could be related to Windows (version / drivers / ...) as I have it on one machine, but not on another. Might it be related to video driver?

It's possible but i dont know. Several of my colleagues have the same version of docker but does not have this issue. We all have the exact same model of computer and updates are handled centrally.

CaptainGooseFat avatar May 02 '24 07:05 CaptainGooseFat

I have updated my video drivers, no luck unfortunately

CaptainGooseFat avatar May 02 '24 10:05 CaptainGooseFat

I've created a video, maybe it helps to understand. This is the volumes view, but the same applies to the containers view.

https://github.com/docker/for-win/assets/15521035/b96922a4-2d9c-49c1-a603-ad01e589ae14

thkerkmann avatar May 07 '24 07:05 thkerkmann

I've created a video, maybe it helps to understand. This is the volumes view, but the same applies to the containers view.

20240506_163249.mp4

Yes, I have this exact same problem.

CaptainGooseFat avatar May 07 '24 11:05 CaptainGooseFat

Same issue, Windows 11 - Docker Desktop containers view is constantly flickering, and flickering means also deselecting selected objects or closing dialogs.

BoschMihaiChezan avatar May 22 '24 21:05 BoschMihaiChezan

@thkerkmann @BoschMihaiChezan @CaptainGooseFat does this issue happen irrespective of whether containers are running or not ?

karman-docker avatar May 24 '24 13:05 karman-docker

@thkerkmann @BoschMihaiChezan @CaptainGooseFat does this issue happen irrespective of whether containers are running or not ?

Yes it does.

CaptainGooseFat avatar May 24 '24 13:05 CaptainGooseFat

@CaptainGooseFat appreciate if you could share a diagnostics captured with all containers stopped and when the dashboard is flashing. Thank you.

karman-docker avatar May 24 '24 15:05 karman-docker

@karman-docker The containers window is always flashing with no regards to the containers being running or stopped. It flashes even when there are no containers at all. To me it seems something like a "heartbeat mechanism" which should update the Containers view in the background but instead it does it in the front-end by resetting the Containers view to blank for half a second before updating the view. I would guess it's something related to the UI components rather than related to containers status. What kind of diagnostics capture are you referring at?

BoschMihaiChezan avatar May 27 '24 05:05 BoschMihaiChezan

@BoschMihaiChezan thanks for the details. When you see the issue even when there are no containers, could you run the below command, that will upload a diagnostics bundle. Windows: "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" gather -upload

MacOS: /Applications/Docker.app/Contents/MacOS/com.docker.diagnose gather -upload

karman-docker avatar May 27 '24 06:05 karman-docker

@BoschMihaiChezan thanks for the details. When you see the issue even when there are no containers, could you run the below command, that will upload a diagnostics bundle. Windows: "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" gather -upload

MacOS: /Applications/Docker.app/Contents/MacOS/com.docker.diagnose gather -upload

Here is the log for "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" gather -upload -- com.docker.diagnose.txt

BoschMihaiChezan avatar May 27 '24 07:05 BoschMihaiChezan

@BoschMihaiChezan unfortunately there was an error during upload, could you retry please and let us know the bundle Id (it gets displayed on the terminal when upload completes).

karman-docker avatar May 27 '24 08:05 karman-docker

@karman-docker I guess it's because of the company proxy or something. Anyway, what are you looking for is (according to the logs) in the diagnostics file/archive which was generated locally in C:\Users\CHM1LUD\AppData\Local\Temp\ED625D72-CAF0-487E-964B-8A17CBB08EFE: 20240527070657.zip

BoschMihaiChezan avatar May 27 '24 11:05 BoschMihaiChezan

Any news on this issue?

CaptainGooseFat avatar Jun 19 '24 06:06 CaptainGooseFat

Apologies for the delay. Not being able to consistently reproduce the issue in our environment is causing the delay. But the issue is being actively investigated to identify a mitigation. Thank you.

karman-docker avatar Jun 19 '24 09:06 karman-docker

Apologies for the delay. Not being able to consistently reproduce the issue in our environment is causing the delay. But the issue is being actively investigated to identify a mitigation. Thank you.

Okay, perfect. Thanks for your reply.

CaptainGooseFat avatar Jun 19 '24 12:06 CaptainGooseFat

I have the same problem :D just updated to 4.31.1 to see if it got fixed, but no dice ;w;

HayateLaTech avatar Jun 25 '24 18:06 HayateLaTech

I uploaded my Diagnostics Report too:

380A505A-7D08-4986-926E-4E77D556FD09/20240707041556

HayateLaTech avatar Jul 07 '24 04:07 HayateLaTech

After upgrading to 4.32.0, the same problem occurs. It has existed for several versions.

suseu avatar Jul 09 '24 19:07 suseu

I updated Docker desktop to 4.33.0 (4.33.1) and this problem seems to be fixed.

kanehama avatar Aug 01 '24 04:08 kanehama