Skip to content

Make the shell attach command customizable#160

Merged
chrisdias merged 5 commits intomicrosoft:masterfrom
FredrikFolkesson:allow-customization-of-shell-to-run
Nov 14, 2017
Merged

Make the shell attach command customizable#160
chrisdias merged 5 commits intomicrosoft:masterfrom
FredrikFolkesson:allow-customization-of-shell-to-run

Conversation

@FredrikFolkesson
Copy link

Allows the user to specify the shell command to be used when attaching to containers by using the settings

docker.attachShellCommand.LinuxContainer and docker.attachShellCommand.windowsContainer

Defaulting to the current commands /bin/sh and powershell

This closes, or partly closes, #60.
Depending on if you want the user to be able to specify the shell command to run in "runtime" or only using the settings as this PR provides.
(the former makes the ease of just right clicking a container and pressing Attach Shell a bit worse in my opinion since you would then have to specify the attach command anyways)

@msftclas
Copy link

msftclas commented Oct 31, 2017

CLA assistant check
All CLA requirements met.

@chrisdias
Copy link
Contributor

this looks better than #159. Can we close that one and only take this one?

@FredrikFolkesson
Copy link
Author

Yeah that makes sense

Copy link
Contributor

@chrisdias chrisdias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chrisdias chrisdias merged commit b35d64b into microsoft:master Nov 14, 2017
@microsoft microsoft locked and limited conversation to collaborators Oct 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants