Last active
April 19, 2019 14:00
-
-
Save leoh0/867d2329465a77a3f2975da9dc4214ed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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