devcontainer-cli-port-forwarder

(★ 13)

Enable Port Forwarding when using DevContainer CLI

File Explorer

  • forwarder.py
  • LICENSE
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

socat

View Details ▼

Multipurpose relay (SOcket CAT).

sudo socat - TCP-LISTEN:8080,fork

Listen to a port, wait for an incoming connection and transfer data to STDIO:

sudo socat OPENSSL-LISTEN:4433,reuseaddr,cert=./cert.pem,cafile=./ca.cert.pem,key=./key.pem,verify=0 STDOUT

Listen on a port using SSL and print to `stdout`:

sudo socat - TCP4:www.example.com:80

Create a connection to a host and port, transfer data in STDIO to connected host:

// repository documentation