devcontainers / devcontainers/cli

[question] Is there a configuration file?

Open
#1,046 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3k
Forks
457
Avg merge
13h 17m
Merged PRs (30d)
6

Description

Hello,

I'm normally using devcontainers from within vs code. In this case, you could set up some configuration there. In my case, I use devcontainers with podman and podman compose. It works like a charm with vs code.

However, when I'm using the cli, I always have to add `--docker-path`, e.g.

```bash
$ devcontainer exec --container-id 84e895517c23 --workspace-folder haskell-hglib --docker-path /usr/bin/podman ls
CHANGELOG.md ...
```

Is there a way around this? Is there a configuration file for the cli as well? Is there a way to avoid the `--container-id`?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.