Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem With Cargo Watch #32

Open
dawsonc623 opened this issue Aug 9, 2024 · 0 comments
Open

Problem With Cargo Watch #32

dawsonc623 opened this issue Aug 9, 2024 · 0 comments

Comments

@dawsonc623
Copy link

I am trying to use these features for a dev container. I have the following configuration:

{
  "name": "My Container",
  "image": "rust:bullseye",
  "features": {
    "ghcr.io/lee-orr/rusty-dev-containers/cargo-binstall:0": {},
    "ghcr.io/lee-orr/rusty-dev-containers/cargo-watch:0": {}
  }
}

The container seems to create just fine, but when I try to cargo watch I get:

error: no such command: `watch`

        Did you mean `fetch`?

        View all installed commands with `cargo --list`
        Find a package to install `watch` with `cargo search cargo-watch`

I have also tried ubuntu:latest with the ghcr.io/devcontainers/features/rust:1 feature with the same result. Is there a combination of image and features that makes this work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant