Skip to content

Instantly share code, notes, and snippets.

@leoh0
Last active April 19, 2019 14:00
Show Gist options
  • Save leoh0/867d2329465a77a3f2975da9dc4214ed to your computer and use it in GitHub Desktop.
Save leoh0/867d2329465a77a3f2975da9dc4214ed to your computer and use it in GitHub Desktop.
#!/bin/bash
curl -fSL \
--progress \
-H "Authorization: Bearer $(curl -fsSL \
"https://auth.docker.io/token?service=registry.docker.io&scope=repository:leoh0/kakaotalk:pull" | \
sed 's/.*"token":"\([^"]*\)".*/\1/g')" \
https://registry-1.docker.io/v2/leoh0/kakaotalk/blobs/sha256:030ac842b5fc9f2a86056a93bbf8c4f706b33db131952f1f571c28013f266bfc | \
tar xzvf -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment