nvim-devcontainer-cli icon indicating copy to clipboard operation
nvim-devcontainer-cli copied to clipboard

`:DevcontainerConnect` ignores `remoteUser` defined in `devcontainer.json`

Open O-possum opened this issue 1 year ago • 0 comments

The docker exec command in open_shell_in_devcontainer.sh currently execs as the default user for the image.

https://github.com/arnaupv/nvim-devcontainer-cli/blob/8a6b8cdbbdf97de83274a97f6e6f053f047335cf/bin/open_shell_in_devcontainer.sh#L16

It should pull from the remoteUser specified in devcontainer.json and provide it as the value for the --user arg.

O-possum avatar Nov 20 '24 18:11 O-possum