Your corporate may block your access to DockerHub.
If Github is accessible, there's a workaround. Here's how:
- Dump Docker images on your personal machines
- Split the images into smaller files and store on Git (without using LFS)
- Join and load the images on your corporate machines
./scripts/dump.sh <image-tag>
For example:
$ ./scripts/dump.sh alpine:latest
💾 Dumping alpine:latest...
output path: registry/alpine-latest.tar
parent dir: registry
Image file is split successfully
The file is removed. Please commit
🚀 Done
./scripts/load.sh <image-tag>
For example:
$ ./scripts/load.sh alpine:latest
💾 Loading alpine:latest...
image path: registry/alpine-latest.tar
Joining image files...
Loaded image: alpine:latest
The temporary image file is removed.
🚀 Done