You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when using the Devpod Desktop workspace, port forwarding for port 80 does not work as expected with the elevateIfNeeded property in the devcontainer.json file. This property is intended to automatically elevate permissions if necessary, but it seems to be unsupported in the Devpod environment.
Expected Behavior
The elevateIfNeeded property should be respected when port forwarding ports (e.g., port 80), allowing automatic permission elevation when needed, similar to its functionality when running a dev container directly from VSCode using the Dev Containers extension.
Steps to Reproduce:
Set up a devcontainer.json file with forwardPorts including port 80 and the elevateIfNeeded property as shown below:
Notice that port forwarding does not work, even though the container should be elevated if needed.
Actual Behavior
Port forwarding works when starting the dev container directly from VSCode with the Dev Containers extension, but not when using Devpod Desktop.
Suggested Solution
Implement support for the elevateIfNeeded property for port forwarding within Devpod Desktop, ensuring that permissions are automatically elevated when necessary, in the same manner as the VSCode extension.
The text was updated successfully, but these errors were encountered:
Description
Currently, when using the Devpod Desktop workspace, port forwarding for port 80 does not work as expected with the
elevateIfNeeded
property in thedevcontainer.json
file. This property is intended to automatically elevate permissions if necessary, but it seems to be unsupported in the Devpod environment.Expected Behavior
The
elevateIfNeeded
property should be respected when port forwarding ports (e.g., port 80), allowing automatic permission elevation when needed, similar to its functionality when running a dev container directly from VSCode using the Dev Containers extension.Steps to Reproduce:
devcontainer.json
file withforwardPorts
including port 80 and theelevateIfNeeded
property as shown below:Actual Behavior
Port forwarding works when starting the dev container directly from VSCode with the Dev Containers extension, but not when using Devpod Desktop.
Suggested Solution
Implement support for the
elevateIfNeeded
property for port forwarding within Devpod Desktop, ensuring that permissions are automatically elevated when necessary, in the same manner as the VSCode extension.The text was updated successfully, but these errors were encountered: