Skip to content

Instantly share code, notes, and snippets.

@cronfy
Created July 20, 2018 18:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cronfy/199325e7baa6051efe21b1a5fbbb2ef7 to your computer and use it in GitHub Desktop.
Save cronfy/199325e7baa6051efe21b1a5fbbb2ef7 to your computer and use it in GitHub Desktop.
ssh proxy livereload to docker
#!/usr/bin/env bash
docker_host=$1
if [ -z "$docker_host" ] ; then
echo "Syntax: `basename $0` <docker_host>" >&2
exit 1
fi
ssh localhost -R 127.0.0.1:35729:$docker_host:35729
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment