Skip to content

Test: Podman support #2854

Closed
Closed

Description

Ref - #116

Complexity: 4


Install the latest version (to get a fix in conmon >= 2.0.14 podman-container-tools/podman#5046 (comment)) of Podman on Linux and add a symlink docker -> podman to the PATH.

Run the Smoke-Test (https://github.com/microsoft/vscode-remote-release/wiki/Remote-Containers-Smoke-Test) ignoring the Docker Compose part (not supported with Podman at the moment) and test basic operations using Remote-Containers commands and the Remote Explorer.

Activity

  1. removed their assignment
    on Apr 28, 2020
  2. weinand commented on Apr 29, 2020

    @weinand

    Christof Marti (@chrmarti) how do you install podman >= 2.0.14 on Ubuntu 18.04 LTE or 19.10 (on Parallels)?
    I'm trying this for hours now...

  3. weinand commented on Apr 29, 2020

    @weinand

    Giving up on installing podman 2.0.14.
    Will test with podman 1.9.0

  4. chrmarti commented on Apr 30, 2020

    @chrmarti
    ContributorAuthor

    Andre Weinand (@weinand) Sorry, it's conmon that needs to have version 2.0.14 or later. Podman 1.9.0 should work.

  5. PavelSosin-320 commented on May 11, 2020

    @PavelSosin-320

    Christof Marti (@chrmarti)
    Unfortunately, docker service provider resolution is not so simple: the same machine can have several providers:
    docker, if neither podman is installed nor kubernetes orchestration is enabled - port 2375 or port 2376
    podman, if podman is installed and docker is suppressed port ???
    kuberenetes if it is enabled in the Docker Desktop settings or minikube is installed - port 6443
    openshift from the same source as podman, RHEL, and widely used in Enterprise.
    maybe docker swarm - port 2375/2376 ?
    Nothing can prevent the installation of all 3 on the same machine. They don't conflict. Every CLI looks at its own dot file in the User-profile folder. It is a user preference for what to use.

  6. chrmarti commented on May 11, 2020

    @chrmarti
    ContributorAuthor

    PavelSosin-320 #2887 will make the name and path of the Docker executable configurable so you can configure podman there. That will only work for Docker CLI compatible CLIs of course.

  7. fyrak1s commented on Jun 12, 2020

    @fyrak1s

    I've got rootless podman working on archlinux, along with the package podman-docker which symlinks docker to podman I guess.

    However vscode stil wouldn't recognize my config, saying "Failed to connect. Is Docker running?"

    Is there something I'm missing?

  8. chrmarti commented on Jun 12, 2020

    @chrmarti
    ContributorAuthor

    @Nuc1eoN Check what is in the log (F1 > Remote-Containers: Show Log). There is now also a setting for the Docker executable where you can set podman, with that you don't need podman-docker anymore.

    Please open a new issue if this is not working as expected. 👍

  9. fyrak1s commented on Jun 12, 2020

    @fyrak1s

    Chris Dias (@chrisdias) Remote-Containers: Show Log doesnt exist for me. Do I need a special setup?
    Never used docker/podman through vscode, so I might be totally missing something 🤔

  10. chrisdias commented on Jun 12, 2020

    @chrisdias
  11. chrmarti commented on Jun 15, 2020

    @chrmarti
    ContributorAuthor

    @Nuc1eoN Make sure you are using the latest version of VS Code (1.46) and have the Remote-Containers extension installed (version 0.117.1).

  12. fyrak1s commented on Jun 15, 2020

    @fyrak1s

    Chris Dias (@chrisdias) Remote-Containers: Show Log gives me an empty terminal with no output.
    Remote-Containers: Settings shows the error:

    Command 'Remote-Containers: Settings' resulted in an error (command 'remote-containers.settings' not found)
    

    Extension and VS Code on latest versions.

  13. fyrak1s commented on Jun 15, 2020

    @fyrak1s

    Anyways do I even need the extension?
    I am trying to make the built-in functionailty work for now:
    image

  14. PavelSosin-320 commented on Jun 15, 2020

    @PavelSosin-320
  15. chrmarti commented on Jun 16, 2020

    @chrmarti
    ContributorAuthor

    That's the Docker extension, please open an issue for them including the value you set for docker.host. Thanks.

    Open issue here: https://github.com/microsoft/vscode-docker/issues

  16. locked and limited conversation to collaborators on Jun 19, 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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions