Skip to content
This repository was archived by the owner on Jul 20, 2026. It is now read-only.
This repository was archived by the owner on Jul 20, 2026. It is now read-only.

After update to 1.42 docker container&images panels are disappeared. #1609

Closed

Description

@irbisKo

Issue Type: Bug

Windows 10 Home.
Docker-machine running.
Update to new version of 1.42.
There is no more panels of containers and images.. The same is in remote mode if I connect to my remote host.

Extension version: 0.10.0
VS Code version: Code 1.42.0 (ae08d5460b5a45169385ff3fd44208f431992451, 2020-02-06T10:51:34.058Z)
OS version: Windows_NT x64 10.0.18362

Activity

  1. dbreshears commented on Feb 7, 2020

    @dbreshears
    Contributor

    irbisKo, are you no longer seeing containers / images (does docker command line work?), or actually are the Panels completely missing in VSCode? We have tried on several machines and not able repro but have only tried on Windows Pro. Can you submit a screen shot and we can also try updating to 1.42 on Windows 10 Home.

  2. irbisKo commented on Feb 7, 2020

    @irbisKo
    Author

    Thank you for your fast feedback. Here are 3 strange behaviors what I got after update,
    So I restarted the computer, reinstall extensions and established a connection with remote Host.
    What I don't try yet is reinstall VSCode itself.

    1. Now I can see in Explorer tab panels Images and Containers. If I open Docker tab then there are just Registries, Networks and Volumes. As you can see there some troubles with docker icon and there is no data.
      bug142PNG
      bug2_142PNG

    Then after opening a project:
    The same order of tabs and pannel but with data.
    The terminal works fine.
    2) But If I try to make manipulation on one container. For example, start/remove than I got a window for multiple selections:
    bug4_142PNG

    1. I tried to open a project on the host. It looks 3-4 attempts from VS Code to open the project with a workspace. First two like:
      bug5_142PNG
      Then popup window: "Cannot reconnect. Please reload the window. Reconnection in 4-3-2-.."
      I worked already sometimes with VSCode and every time the connection was smooth. Now the connecting time very long.

    I have a presentation next week for my colleges about remote development inside containers with VS Code. I think I need to use the old stable version.

    Update: After reinstalling VS Code the delay and strange behaviors by connection to the host are gone. the issue with panels stays

  3. msssk commented on Feb 7, 2020

    @msssk

    Same problem here, upgraded VS Code to 1.42 on Windows 10 Pro with Docker Desktop 2.1.0.4 and now the only panels I see are Registries, Networks, and Volumes.

  4. jwtd commented on Feb 9, 2020

    @jwtd

    I'm getting the same behaviors on:

    OSX 10.14.6
    Docker Desktop: 2.2.0.0
    Visual Studio Code Version: 1.42.0
    Docker extension v0.10.0

    After installing, I see the docker icon in the left vertical menu, but when I open the drawer, I only see Volumes, Registries, and Networks in the drop down list.

  5. philliphoff commented on Feb 10, 2020

    @philliphoff
    Member

    irbisKo Mangala Khalsa (@msssk) Jordan Duggan (@jwtd) What other extensions have you installed? Do you see this behavior if only the Docker extension (vscode-docker) is installed?

    Did you also happen to install the Docker Explorer extension? (This extension is known to have view/command IDs that conflict with our extension and can cause VS Code to exhibit weird placement/behavior of our windows.)

  6. jwtd commented on Feb 10, 2020

    @jwtd

    Currently, the only docker extension I have installed is vscode-docker. Previously, I had the docker extension pack installed. I've tried uninstalling all and reinstalling vscode-docker on its own. I get the same issue each time.

    Aside from the docker extension, I have gitlense, terraform, live share, and aws extensions installed.

  7. philliphoff commented on Feb 10, 2020

    @philliphoff
    Member

    Jordan Duggan (@jwtd) The Docker "extension pack" is from the same author as the Docker Explorer and just bundles both our extension and Docker Explorer, so that would definitely cause a problem. It's curious that removing that extension doesn't resolve the issue (as it does in my testing on my Windows machine).

    If you click the Docker tab, then right-click at the top of the Docker explorer are (e.g. next to the "Docker" label), you should get a context menu that allows you to show/hide individual tree views (e.g. registry, networks, volumes, etc.). Do you see the images or containers tree view in that list?

  8. msssk commented on Feb 10, 2020

    @msssk

    I did previously have Docker Explorer and Docker both installed, and Docker was working. When I updated VSCode to 1.42 Docker stopped working. I uninstalled Docker Explorer, no change. So I uninstalled Docker, quit/opened VSCode, reinstalled Docker, quit/open again, Docker still not working. I've reinstalled Docker again and it still isn't working.

    In the right-click menu I only see "Registry", "Networks", and "Volumes". I tried disabling all other extensions (none are Docker-related) and still only see "Registry", "Networks", and "Volumes".

  9. jwtd commented on Feb 10, 2020

    @jwtd

    When I click the Docker tab, then right-click at the top of the Docker explorer areaI do get a context menu that allows you to show/hide individual tree views, but it only shows volumes, registry, and networks.

    2020-02-10_16-48-53

  10. irbisKo commented on Feb 12, 2020

    @irbisKo
    Author

    Phillip Hoff (@philliphoff) I don't have installed Docker Explorer. Just Docker and Remote Development. The same individual tree view just with Volumes, Registries, and Networks. In the Explorer tab in the inividual tree views I can see Images and Containers.

  11. bwateratmsft commented on Feb 12, 2020

    @bwateratmsft
    Collaborator

    irbisKo Can you share a screenshot of the Views section of Contributions from the extension info page? At the bottom of the Contributions should be the Views section:
    image

    It seems like there is some conflict on contributions that is causing the views to be hidden...

  12. 5 remaining items

  13. bwateratmsft commented on Feb 13, 2020

    @bwateratmsft
    Collaborator

    Thanks Jordan Duggan (@jwtd). Man, this is a strange bug. I'll see if I can find information on VSCode; why the behavior may have changed. There could be some weird caching things happening that cause conflicts with the Docker Explorer extension even when it is uninstalled.

  14. bwateratmsft commented on Feb 13, 2020

    @bwateratmsft
    Collaborator

    SteVen Batten (@sbatten), Phillip Hoff (@philliphoff) found microsoft/vscode#85164, we were wondering if the code there could be causing this strange behavior we're seeing. For context--

    • Both the Docker Explorer (third party) and our Docker extension (first party) use the view IDs dockerContainers and dockerImages for custom tree views; unfortunately in conflict.
    • Some users have both extensions installed, the behavior from that is sometimes weird but mostly not broken.
    • Beginning in VSCode 1.42 users have reported those views disappearing, and staying disappeared even after uninstalling the third-party Docker Explorer extension.

    Is it possible these things are related to those changes?

  15. msssk commented on Feb 13, 2020

    @msssk

    Can you check your user settings and see if there are values present for those settings

    No values present, I added them manually and VSCode displayed them as unknown configuration settings and they had no effect.

  16. bwateratmsft commented on Feb 14, 2020

    @bwateratmsft
    Collaborator

    Thanks folks. I've been working with SteVen Batten (@sbatten) and it seems that the changes for microsoft/vscode#85164 are related, along with the conflicting view IDs between the two extensions.

    I was able to reproduce the issue with the following:

    1. Uninstall both extensions
    2. Install the Docker Explorer (third party) extension first
      1. It puts the Containers and Images view in the Explorer viewlet, not in the Docker viewlet
    3. Install the Docker (first party) extension
      1. Note: the extensions didn't actually have to be installed in this order, just loaded in this order upon launching 1.42, but installing one and then the other guarantees the load order
    4. The view-moving code that SteVen Batten (@sbatten) added now thinks that the Images and Containers views (which share the same ID in both extensions) belong in the Explorer viewlet, which is why they do not show up in the Docker viewlet. I suspect for most people they do actually show up in the Explorer viewlet:
      image
    5. Uninstalling the Docker Explorer extension does not quite fix the problem, because the view-moving code still thinks Images and Containers belong in the Explorer viewlet, due to the conflicting IDs. Here's what I see after uninstalling the Docker Explorer extension:
      image
      image

    How to fix it

    1. Uninstall the Docker Explorer (third party) extension
    2. In Settings, enable the experimental feature Workbench > View > Experimental: Allow Moving To New Container (setting ID workbench.view.experimental.allowMovingToNewContainer)
    3. In the Explorer viewlet, right click the Images and Containers views and choose Move to Panel:
      image
    4. They should now show in the center panel, same as where terminals and output windows usually show:
      image
    5. Right click them there, and choose Move to Sidebar. This should return them to their proper place in the Docker viewlet:
      image
    6. If desired, you can now disable the setting from step 2.

    irbisKo , Mangala Khalsa (@msssk) , Jordan Duggan (@jwtd) , can you try the fix steps above and let us know if they work?

  17. Fosol commented on Feb 14, 2020

    @Fosol

    Same issue here after updating Docker Desktop.

  18. jwtd commented on Feb 14, 2020

    @jwtd
  19. msssk commented on Feb 14, 2020

    @msssk

    Brandon Waterloo [MSFT] (@bwateratmsft) Thank you for troubleshooting this! Fix works!

  20. bwateratmsft commented on Feb 14, 2020

    @bwateratmsft
    Collaborator

    Awesome! Glad to hear it's working.

  21. bwateratmsft commented on Feb 14, 2020

    @bwateratmsft
    Collaborator

    I'll close this one as external. I created formulahendry/vscode-docker-explorer#53 in the Docker Explorer extension to change the IDs to prevent conflicts. The Docker Explorer extension did use the IDs first, but because this extension has dependents in Remote - Containers, it would be more difficult to change this one.

  22. locked and limited conversation to collaborators on Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions