open-remote-ssh icon indicating copy to clipboard operation
open-remote-ssh copied to clipboard

Looking forward to supporting docker container

Open crazyn2 opened this issue 3 years ago • 9 comments

crazyn2 avatar Aug 22 '22 02:08 crazyn2

Sorry to bother you, sir, may i ask whether u have got any idea to implement this scenario?

crazyn2 avatar Oct 07 '22 14:10 crazyn2

Sorry, not really as it will be a completely different extension same as the official MS remote - containers extension

jeanp413 avatar Oct 07 '22 16:10 jeanp413

Actually, I think this will be easier to implement as I think we can reuse some code from https://github.com/devcontainers/cli which is also reusing code from the official remote - containers extension, it will be a separate extension and need to find some free time anyway

jeanp413 avatar Oct 11 '22 19:10 jeanp413

Could you give any suggestion for my error? node: v14.20.0 OS: Ubuntu22.04 amd64 VSCode: 1.72.0-22279 after npm i, click f5 to start.

Duplicate identifier 'internal'.
Duplicate identifier 'stream'.

Activating extension 'jeanp413.open-remote-ssh' failed: Cannot find module '/home/***/Workspaces/open-remote-ssh/out/extension.js'
Require stack:
- /usr/share/codium/resources/app/out/vs/loader.js
- /usr/share/codium/resources/app/out/bootstrap-amd.js
- /usr/share/codium/resources/app/out/bootstrap-fork.js.

crazyn2 avatar Oct 12 '22 10:10 crazyn2

The extension uses yarn so just run yarn in terminal and then f5, maybe npm i didn't install dependencies correctly or run npm run watch manually in terminal and see if there's any errors

jeanp413 avatar Oct 12 '22 16:10 jeanp413

after yarn

[8:48:16 AM] Starting compilation in watch mode...

node_modules/@types/node/ts4.8/stream.d.ts:842:39 - error TS2304: Cannot find name 'Blob'.

842             static from(src: Stream | Blob | ArrayBuffer | string | Iterable<any> | AsyncIterable<any> | AsyncGeneratorFunction | Promise<any> | Object): Duplex;
                                          ~~~~

[8:48:18 AM] Found 1 error. Watching for file changes.

crazyn2 avatar Oct 13 '22 00:10 crazyn2

mmm strange I don't have that ts4.8 folder, I see you are using node 14, try updating to node 16, that's the version vscode/codium uses too and delete node_modules before runing yarn again

jeanp413 avatar Oct 13 '22 04:10 jeanp413

Perhaps something like this (https://github.com/arrikto/kubessh) could be used as a workaround while the container version is under development

nerd8622 avatar Aug 04 '24 18:08 nerd8622