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
With the recent release (the one with features) I tried experimenting with the devcontainers CLI. But I just can't get the forwardPorts feature to work. I created the following minimal devcontainer.json file: api-url
#1248
With the recent release (the one with features) I tried experimenting with the devcontainers CLI. But I just can't get the forwardPorts feature to work. I created the following minimal devcontainer.json file:
Maybe I am misunderstanding the forwardPorts option, but I would expect that this configuration will forward the port 2222 (this is the default defined by the sshd feature) from the devcontainer to my host. But a simple ssh localhost -p 2222 did not work.
With the recent release (the one with features) I tried experimenting with the devcontainers CLI. But I just can't get the
forwardPorts
feature to work. I created the following minimaldevcontainer.json
file:Maybe I am misunderstanding the
forwardPorts
option, but I would expect that this configuration will forward the port 2222 (this is the default defined by the sshd feature) from the devcontainer to my host. But a simplessh localhost -p 2222
did not work.I tried this on Windows 11.
Originally posted by @davidkron in devcontainers/cli#186
The text was updated successfully, but these errors were encountered: