Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the shell attach command customizable #160

Merged
merged 5 commits into from
Nov 14, 2017
Merged

Make the shell attach command customizable #160

merged 5 commits into from
Nov 14, 2017

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
Member

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
Member

@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