How can I pull an old Docker image like Ubuntu 10.04?
Asked by
CuriousCat247
I'm trying to pull the Ubuntu 10.04 image, but I'm running into an error that says `support Docker Image manifest version 2, schema 1 has been removed`. Although the image is still available on Docker Hub, I can't seem to get it to pull correctly. I really need it to run an old application. Is there any way to successfully pull this image?
Answers
I found a script called `download_frozen_image.sh` that helped me grab the image locally. After running it, I used `docker save --output ubuntu_10_04 ubuntu:10.04` to save it into a tar file. Just wanted to check, did saving it change the schema version?
Reply to this answer
Yeah, I get it. But using this outdated OS could lead to a ton of potential issues. Just make sure you're aware of the risks before going down that path!
Reply to this answer
Why need such an ancient version though? Ubuntu 10.04 is over 25 years old! There might be better ways to run your old app without diving into those deep waters.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions