how to set --detach-keys / detachKeys when running devcontainer exec

Open
#975 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, typescript
Domain
cli

Research direction

Start with the devcontainer exec command and its help or option handling, then compare how ~/.docker/config.json supplies detachKeys. Confirm whether a per-command or per-devcontainer binding is supported; done means the requested binding works for devcontainer exec without changing the global Docker configuration.

Written by the indexing model from the issue text.

Description

feature-request

When running devcontainer exec I'd like to change the detachKeys key binding since I use ctrl-p within vim. Currently I am setting detachKeys inside ~/.docker/config.json, however I would like to avoid having to do this globally and would like to apply the binding for the devcontainer only. Is this currently possible?

Dominant language
TypeScript
Stars
3k
Forks
461
Avg merge
18m
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from devcontainers/cli

All issues in devcontainers/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.