![]() To me it is not completely clear what you are trying to achieve and why the attempts are not a solution for the problem. gz backward one by one"Įcho "after docker export and reimport to make a simple layer image" gz to your docker machine"Įcho "docker import. header "Authorization: Bearer $ -Method GET -Uri $bloburi$blobelement -OutFile blobtmpĬopy-Item $source $newfile -Force -RecurseĮcho "copy these. Get an authorization token: export TOKEN=\ Here is how I'm currently going about it. It looks like I'm able to download layer blobs from Docker Hub. So unfortunately it looks like the curl command generated does not work. Strict-Transport-Security: max-age=31536000 # Got registry endpoint from the server: # Reading user/passwd from env var "USER_CREDS" Here is what I got: docker-registry-debug curlme docker ubuntu One of the solutions there refers to a command-line tool called docker-registry-debug which, among other things, can generate a curl command for downloading an image. But another solution posted there cites the following StackOverflow post: The accepted solution uses the docker save command, which doesn't help in my situation. ![]() Downloading docker image for transfer to non-internet-connected machine. ![]() I came across the following ServerFault post: ![]() Is it really the case that the API doesn't support downloading images? Is there a way to work around this? Fetch docker images without docker command.I would have thought that this would be possible using the official API, but this does not appear to be the case - see the following discussion: More specifically, I want to download a Docker Image from Docker Hub on a machine in a restricted environment which does not (and cannot) have the Docker client software installed. I want to manually download a Docker Image from Docker Hub.
0 Comments
Leave a Reply. |