Hello, I just recently started to use Docker Desktop for my studies, I’m trying to customize a Keycloak theme and I just encountered an issue opening the file explorer of my container on Docker Desktop (Click on Container > Files).
Just few seconds before encountering this issue, I managed to drop down my custom theme in the file explorer, I can see him using power shell and bash commands, my custom theme is there, so the first process when I still had the possibility to access the file explorer worked.
But now when i’m trying to click on the “opt” directory in the Docker Desktop file explorer :
the files in the directory just pops for 0,2 seconds then disappears, I can open other directories without issues but not this one, I’m clueless, if anyone can help it would be appreciated.
On Which platform (Windows, Linux, macOS)? You chose Docker Hub as category, but you have no problem with Docker Hub.
If other fodlers work, you can use the terminal and check the difference between the folders. For example permissions, even though root should be able to open any folder.
Another difference could be that you mounted a host folder into /opt.
Thank you for changing the category. Since you accidentally changed it to “Windows containers” under “Docker Desktop for Windows”, but you clearly run Linux containers, I corrected the category.
I tried to reproduce it on Windows. I couldn’t.
Can any of you @kkmya@agagioumpi create and share an image with which you experienced this issue? I can try, but I don’t think I can solve it. If there is a bug in Docker Desktop, you can report it on GitHub
You can also try to use the keyboard instead of clicking with a mouse. If you click on a folder, the left arrow key should close the folder and the right arrow key should open it. If there is a problem with the clicking event, it could help temporarily.
Yes, I’m using Docker Desktop 4.29.0 (145265) on Windows.
The folder is the same (/opt) and with the right arrow key on the keyboard it behaves in the same way as clicking with the mouse: the folder opens and is closed immediately.
This only happens at a later time because as soon as it is started, the first access to the folder is performed and then the problem occurs.
Having this issue myself. Found a workaround which is to collapse the parent folder. For example: I have a folder temp inside the /opt/ dir. I collapsed the opt dir, then temp i hit the arrow to collapse it, then again to expand it and it stayed. Repeat as necessary.
Guessing there’s a bug in Docker that it thinks the parent directory is collapsed when it is really expanded, which means as soon as you expand the subfolder it instantly collapses the contents to reflect the parents status.
Ran into this today. I restarted the container and made sure that the caret for the root folder (/opt in my case) was pointing right before restarting. When the file table blinked off and came back I was able to expand it normally.
To add: You cannot restart to fix this. You must stop the container, then start it up again to run the workaround.
Yes,It works when using space. Thank u !
Usually, We use click to open or close floder, and it works well.
But, sometimes there is a problem , we can’t use click, it may be a bug of docker desktop.
I use docker desktop for mac.
It seems that, whither useing mac or win, the same problem both happened.
I’ve the same problem, Win11 Docker Desktop 4.30.0. The space bar helps but not enough if I want to click on a file to get the Edit option for instance.
Please correct this explorer, or at least add a filed where you can enter/type the path we want to be opened.
Still an issue with 4.31.1 using windows 11.
when using space to open the folder, it still closes a few moments later by itself.
please fix.my workflow is mostly in the docker desktop app
I am experiencing the same problem.
I can’t expand folders. I’m using the latest Docker Desktop version, v4.31.1.
Running on Windows Server 2022, newest build.