kubctl port-forward
for docker
Tiny shell script to port-forward a local port to a specified Docker container already running.
dpf <container-name> <local-port> <container-port>
or simply:
dpf <container-name> <port>
To install or update dpf, you can use the install script using cURL:
curl -o- https://raw.githubusercontent.com/vspiewak/dpf/master/install.sh | bash
or Wget:
wget -qO- https://raw.githubusercontent.com/vspiewak/dpf/master/install.sh | bash