Skip to content

Announcement: Container Tools for Visual Studio Code #43

Activity

  1. bwateratmsft commented on Apr 21, 2025

    @bwateratmsft
    CollaboratorAuthor

    The Container Tools extension has been released. We are trying to do a gentle rollout to make for a smooth transition from the Docker extension.

    For now, installation of Container Tools will need to be done manually, with the Docker extension uninstalled first. Soon, we will add a toast notification to the Docker extension to allow users to transition to Container Tools at-will. Eventually, we plan to change the Docker extension into a simple extension pack, containing Container Tools--users who choose to wait will then be migrated automatically.

  2. JoeAustinC commented on Apr 28, 2025

    @JoeAustinC

    Looks promising, however on MacOS, when using the extension in a running DevContainer, when accessing the tool from the side toolbar, gives:
    'There is no data provider registered that can provide view data.'
    ... with an error popup of:
    'An unsupported version of the Docker extension is installed. Please update the Docker extension to version 2.0.0 or later. The Container Tools extension will not activate.'
    It works correctly when using the same computer/setup/login etc, but not when running in the DevContainer.

  3. bwateratmsft commented on Apr 29, 2025

    @bwateratmsft
    CollaboratorAuthor

    Joe Austin-Crowe (@JoeAustinC) can you make sure that you don't have the Docker extension installed in your dev container?

  4. marty0678 commented on Apr 29, 2025

    @marty0678

    I was also getting the same error An unsupported version of the Docker extension is installed. Please update the Docker extension to version 2.0.0 or later. The Container Tools extension will not activate. but only in my WSL Ubuntu environment. My host / Windows was fine and everything worked correctly but in WSL I could not see any of my images.

    I see that the Docker extension was removed from the host, but not the dev container (I swear I saw it removed yesterday from the WSL container but it was back today).

    Either way, removing the Docker extension again from WSL specifically seems to have fixed it for me, thank you!

  5. bwateratmsft commented on Apr 29, 2025

    @bwateratmsft
    CollaboratorAuthor

    Marty Cochrane (@marty0678) Joe Austin-Crowe (@JoeAustinC) what might be happening is the .devcontainer.json has the Docker extension in it--I think that causes it to be auto-installed. In any case, once we update the Docker extension to just be an extension pack, this will stop being an issue...

  6. SiebelsTim commented on Apr 30, 2025

    @SiebelsTim

    Installation was seamless. However, VSCode nags to install the (now uninstalled) docker extension whenever I open a Dockerfile. I am supposed to keep it uninstalled, correct?

  7. bwateratmsft commented on Apr 30, 2025

    @bwateratmsft
    CollaboratorAuthor

    Tim Siebels (@SiebelsTim) Yes, for now keep it uninstalled. We plan to release an update in the near future that will turn it into an extension pack, and it will no longer be incompatible with the Container Tools extension.

  8. sujyotraut commented on May 5, 2025

    @sujyotraut

    Eagerly waiting for podman support.

  9. bwateratmsft commented on May 5, 2025

    @bwateratmsft
    CollaboratorAuthor

    Eagerly waiting for podman support.

    Sujyot (@sujyotraut) you don't have to wait any more! You can install Container Tools now, and change the VSCode setting containers.containerClient to choose Podman.

  10. sujyotraut commented on May 5, 2025

    @sujyotraut

    Brandon Waterloo (@bwateratmsft) Thanks for letting me know.

  11. regunakyle commented on May 14, 2025

    @regunakyle

    Eagerly waiting for podman support.

    Sujyot (@sujyotraut) you don't have to wait any more! You can install Container Tools now, and change the VSCode setting containers.containerClient to choose Podman.

    So if I use Podman (and only Podman), I should install this extension instead of the Docker extension. Is this correct?

  12. bwateratmsft commented on May 14, 2025

    @bwateratmsft
    CollaboratorAuthor

    Reguna (@regunakyle) Yes, that would be the recommendation at this time. Relatively soon we are going to change the Docker extension into an extension pack, containing Container Tools--and at that point it won't really matter which you install, you'll have the features available either way.

  13. mjgardner commented on May 23, 2025

    @mjgardner

    Relatively soon we are going to change the Docker extension into an extension pack, containing Container Tools--and at that point it won't really matter which you install, you'll have the features available either way.

    Do you have a timeframe for this conversion? I'm currently waiting on devcontainers/features#1358 before installing Container Tools, as the Docker-in-Docker Dev Containers feature still installs the conflicting Docker extension. Converting the Docker extension to a pack that installs Container Tools would mitigate this wait.

  14. bwateratmsft commented on May 23, 2025

    @bwateratmsft
    CollaboratorAuthor

    Mark Gardner (@mjgardner) we're tentatively thinking next week, so it won't be much longer!

  15. microhobby commented on May 29, 2025

    @microhobby

    Hey Brandon Waterloo (@bwateratmsft) the extension now looks like a wrapper for the new one, but this is breaking some other legacy extensions that for example use docker. properties on settings for example. This was really did?

  16. bwateratmsft commented on May 29, 2025

    @bwateratmsft
    CollaboratorAuthor

    Matheus Castello (@microhobby) do you know what extensions are using the docker.* settings? The only one we're aware of is the Dev Containers extension, but we released an update to that to make it compatible.

  17. microhobby commented on May 29, 2025

    @microhobby

    yeah, the https://marketplace.visualstudio.com/items?itemName=Toradex.apollox-vscode uses it to set the remote embedded device as docker host for example. A pre-release was released with this, but the stable still uses the docker. properties.

  18. bwateratmsft commented on May 29, 2025

    @bwateratmsft
    CollaboratorAuthor

    We did our searching for dependent extensions via code, so since the above extension is closed-source we wouldn't have been able to find it. It sounds like they're already aware and working on a fix though. If you know of any other extensions affected please let us/them know.

  19. bwateratmsft commented on Jun 3, 2025

    @bwateratmsft
    CollaboratorAuthor

    We have released the update that turns the Docker extension into a simple extension pack containing Container Tools. Those who have auto-updates enabled will now get the Container Tools extension automatically.

  20. mattjwarren commented on Jun 8, 2025

    @mattjwarren

    I have installed the extenison pack into vscode in WSL2

    I initially selected to use podman rather than docker, but I would like now to switch to docker. How do I do so?

  21. bwateratmsft commented on Jun 9, 2025

    @bwateratmsft
    CollaboratorAuthor

    Matthew Warren (@mattjwarren) The easiest way to do that would be to open the command palette and run the command "Containers: Choose container runtime..."

  22. bwateratmsft commented on Jul 6, 2026

    @bwateratmsft
    CollaboratorAuthor

    It's been over a year so I am going to unpin this issue (but it will be left open and unlocked for now).

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

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions