cli icon indicating copy to clipboard operation
cli copied to clipboard

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

Open pacidic opened this issue 10 months ago • 2 comments

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?

pacidic avatar Mar 11 '25 22:03 pacidic

Thank you for filing! @chrmarti would this sound like a feature request to track in https://github.com/microsoft/vscode-remote-release/issues?

bamurtaugh avatar Mar 26 '25 18:03 bamurtaugh

I see we could add this as an additional option to the CLI's exec command. It makes sense to keep it here. Thanks!

chrmarti avatar Mar 27 '25 07:03 chrmarti