Skip to content

Using WebView in Docker when port is not exposed #192

@vnijs

Description

@vnijs

I just updated to the latest version of code-server for a docker container that I maintain. The latest version of vscode-R works great ... except that I can't open help files in HTML view. The reason is that webview starts on an (random) port which is not exposed by the docker container. There is some documentation about this but I'm not clear what steps would be needed.

@renkun-ken Wondering if you might have any suggestions on how to deal with something like this. Is it feasible to add an option (e.g., through .Rprofile) for the port to use perhaps?

https://github.com/microsoft/vscode-docs/blob/master/docs/remote/troubleshooting.md#blocked-localhost-ports

options(help_type = "html")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions