Unverified Commit 6d2b646a authored by Daniel Meilak's avatar Daniel Meilak Committed by GitHub

[desktop-lite] Suggested usage of appPort instead of forwardPorts for devconatiner-cli (#1086)

[desktop-lite] Suggested usage of appPort instead of forwardPorts for devcontainer-cli
parent dd0266fe
...@@ -25,7 +25,7 @@ Adds a lightweight Fluxbox based desktop to the container that can be accessed u ...@@ -25,7 +25,7 @@ Adds a lightweight Fluxbox based desktop to the container that can be accessed u
This feature provides two ways of connecting to the desktop environment it adds. The first is to connect using a web browser. To do so: This feature provides two ways of connecting to the desktop environment it adds. The first is to connect using a web browser. To do so:
1. Forward the noVNC port (`6080` by default) to your local machine using either the `forwardPorts` property in `devcontainer.json` or the user interface in your tool (e.g., you can press <kbd>F1</kbd> or <kbd>Ctrl/Cmd</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> and select **Ports: Focus on Ports View** in VS Code to bring it into focus). 1. Forward the noVNC port (`6080` by default) to your local machine using either the `forwardPorts` property in `devcontainer.json` or the user interface in your tool (e.g., you can press <kbd>F1</kbd> or <kbd>Ctrl/Cmd</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> and select **Ports: Focus on Ports View** in VS Code to bring it into focus). If using the [Dev Conatiner Cli](https://github.com/devcontainers/cli), you should use the `appPort` property in `devcontainer.json` instead.
1. Open the ports view in your tool, select the noVNC port, and click the Globe icon. 1. Open the ports view in your tool, select the noVNC port, and click the Globe icon.
1. In the browser that appears, click the **Connect** button and enter the desktop password (`vscode` by default). 1. In the browser that appears, click the **Connect** button and enter the desktop password (`vscode` by default).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment