How to create local mirror for ubuntu inside docker container?
Now the issue is that it is taking too much time to download the whole packages,even though I divided its in part like main,restricted and universe but it is downloading packages of 22 GB. My system is powered on since last 48 hrs but still its not been completed. yes I have enough speed of Internet. But I think its goes in an infinite loop and stuck somewhere.
Is there any other way to accomplish this ? any suggestions ?
Thank you so much in advance !
One Solution collect form web for “How to create local mirror for ubuntu inside docker container?”
The docker container copy-on-write file system is slow, you want to make sure the data you download gets written to a fast file system. That’s what the VOLUME instruction is for in a Dockerfile.
Then to persist that data, you would have to mount that volume on your host file system or use Docker data containers. See this article for more info on volumes.