Skip to content

Test: Open a repository into a volume #1515

Closed

Description

@egamma

Test #1395

Complexity: 3

Test the 'Remote-Containers: Open Repository in Container...' command.

This command supports to clone a repository that contains a devcontainer.json file into a docker volume. Use the Docker extension and its 'Volume' section to inspect the volume creation.

  • verify that a container with the cloned respository contents is created
  • verify that 'reopen locally' is handled gracefully (since there is no bind mount the command is not available).
  • verify that 'Open Recent...' works for such containers.
  • verify that an existing volume, created from the same repository is reused.
  • verify that such a container is rendered in the Remote Explorer:
    • shows the source repository as an attribute in the Details section
    • shows the volume mount (and you can inspect the volume from the context menu) in the Details section.
  • removing such a container from the explorer should prompt you to remove the corresponding volume.

Limitations:

  • no support to clone private repositories
  • docker-compose or multi-root setups are not supported.

Activity

  1. joaomoreno commented on Oct 1, 2019

    @joaomoreno

    Erich Gamma (@egamma) Pretty cool, everything works as advertised!

    verify that 'reopen locally' is handled gracefully (since there is no bind mount the command is not available).

    What does this mean? When I run that action I get: Reopen Locally' not possible in current context.

  2. removed their assignment
    on Oct 1, 2019
  3. egamma commented on Oct 2, 2019

    @egamma
    MemberAuthor

    verify that 'reopen locally' is handled gracefully (since there is no bind mount the command is not available).

    What does this mean? When I run that action I get: Reopen Locally' not possible in current context.

    João Moreno (@joaomoreno) This is the current behaviour, but I agree with #1542 it is lame.

  4. locked and limited conversation to collaborators on Nov 16, 2019
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions