Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 44b3c64

Browse files
committed
Tweak comment on shell setting
1 parent 17ce921 commit 44b3c64

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

containers/docker-existing-docker-compose/.devcontainer/devcontainer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
// Use 'settings' to set *default* container specific settings.json values on container create.
2121
// You can edit these settings after create using File > Preferences > Settings > Remote.
2222
"settings": {
23-
// Uncomment to ensure your container runs using the correct shell for terminals and tasks
24-
// "terminal.integrated.shell.linux": "/bin/bash"
23+
// This will ignore your local shell user setting for Linux since shells like zsh are typically
24+
// not in base container images. You can also update this to an specific shell to ensure VS Code
25+
// uses the right one for terminals and tasks. For example, /bin/bash (or /bin/ash for Alpine).
26+
"terminal.integrated.shell.linux": null
2527
},
2628

2729
// Uncomment the next line if you want start specific services in your Docker Compose config.

containers/docker-existing-dockerfile/.devcontainer/devcontainer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424
// Use 'settings' to set *default* container specific settings.json values on container create.
2525
// You can edit these settings after create using File > Preferences > Settings > Remote.
2626
"settings": {
27-
// Uncomment to ensure your container runs using the correct shell for terminals and tasks
28-
// "terminal.integrated.shell.linux": "/bin/bash"
27+
// This will ignore your local shell user setting for Linux since shells like zsh are typically
28+
// not in base container images. You can also update this to an specific shell to ensure VS Code
29+
// uses the right one for terminals and tasks. For example, /bin/bash (or /bin/ash for Alpine).
30+
"terminal.integrated.shell.linux": null
2931
},
3032

3133
// Uncomment the next line if you want to publish any ports.

0 commit comments

Comments
 (0)