Skip to content

Instantly share code, notes, and snippets.

@nikita-leonov
Created November 6, 2015 21:06
Show Gist options
  • Save nikita-leonov/14730234dbe2a962f71a to your computer and use it in GitHub Desktop.
Save nikita-leonov/14730234dbe2a962f71a to your computer and use it in GitHub Desktop.
insecure-registry alternative
$ docker pull host:5000/image #fails
$ ssh -N -L 5000:host:5000 user@host
$ docker pull localhost:5000/image #works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment