Skip to content

[Request]: aliases to enable devcontainer/cli builds using container #2259

Description

@pstoeckle

Feature or enhancement request details

It would be nice if one could use devcontainers/cli + container to build dev containers on macOS. However, if one calls

devcontainer build \
  --docker-path container \
  --workspace-folder .

it fails with

Error: Plugin 'container-pull' not found.

- If system services are not running, start them with: container system start
- If the plugin isn't installed, ensure it exists under:

Check to see that the plugin exists under:
  - /usr/local/libexec/container-plugins/pull
  - /usr/local/libexec/container/plugins/pull

Usage: container [--debug] <subcommand>
  See 'container --help' for more information.
[208 ms] Retrying (Attempt 0) with error
			  'Command failed: container pull rust:1.98.0-trixie@sha256:620dbcd124499c59e2406d3741574b5c5838cf9eb9656f0c3a03948f79b02959
'
Error: Plugin 'container-pull' not found.

- If system services are not running, start them with: container system start
- If the plugin isn't installed, ensure it exists under:

Check to see that the plugin exists under:
  - /usr/local/libexec/container-plugins/pull
  - /usr/local/libexec/container/plugins/pull

Usage: container [--debug] <subcommand>
  See 'container --help' for more information.

Some aliases, e.g., container pull ➡️ container image pull, could make this possible.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions