Skip to content

Problem With Cargo Watch #32

@dawsonc623

Description

@dawsonc623

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?

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