Skip to content

Instantly share code, notes, and snippets.

@iamspark1e
Created March 2, 2021 15:32
Show Gist options
  • Save iamspark1e/3582f6f682e46b77dbebe031479a87cf to your computer and use it in GitHub Desktop.
Save iamspark1e/3582f6f682e46b77dbebe031479a87cf to your computer and use it in GitHub Desktop.
docker inspect code-server | grep IPAddress
docker run -d --restart always --name devport -p 10081:1234 alpine/socat TCP-LISTEN:1234,fork TCP-CONNECT:172.17.0.3:10081
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment