Upload with docker, download with only curl.
- upload your file
REPO=YOUR_DOCKER_ID ./docker_as_a_storage.sh <file or directory>
-
after finished then get command for downloading your file
-
then paste when you need to download this file
curl -fSL --progress -H "Authorization: Bearer $(curl -fsSL "https://auth.docker.io/token?service=registry.docker.io&scope=repository:leoh0/tty.gif:pull" | sed 's/.*"token":"\([^"]*\)".*/\1/g')" https://registry-1.docker.io/v2/leoh0/tty.gif/blobs/sha256:55f44f7164fde0e4422d65494141fee97142a5c2ece7e63cfa34944a1437e3a8 | tar xzvf -
