We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9274435 commit 0562234Copy full SHA for 0562234
news/2 Fixes/9976.md
@@ -0,0 +1 @@
1
+add --ip=127.0.0.1 argument of jupyter server when running in k8s container
src/client/datascience/jupyter/notebookStarter.ts
@@ -211,7 +211,7 @@ export class NotebookStarter implements Disposable {
211
// Check for a docker situation.
212
try {
213
const cgroup = await this.fileSystem.readFile('/proc/self/cgroup').catch(() => '');
214
- if (!cgroup.includes('docker')) {
+ if (!cgroup.includes('docker') && !cgroup.includes('kubepods')) {
215
return args;
216
}
217
// We definitely need an ip address.
0 commit comments