Using VSCode Remote Containers, one can work inside a container. When one then opens up e.g. Jupyter Lab or Tensorboard, it will automatically forward the relevant ports to the host. How can I do the same thing manually via CLI (and/or neovim)?
I'm aware of the port forwarding syntax when starting docker containers, but this cannot be applied to already running containers AFAIK.