I must create a Docker container for Ubuntu 12.04.
I am setting up the container into a Windows 10 VM.
To get build tools, I need to get apt-get install
to work, but it can't reach its sources.
I am unable to get any networking on the 12.04. ping not installed, nor any networking tools (iputils
). apt-get update
which is what I really need, not working.
I have tried a more recent Ubuntu version, and that works.
This works:
docker run -it --network bridge ubuntu:latest bash
root@3502f6313799:/# apt-get update
...
Fetched 20.4 MB in 47s (438 kB/s)
Reading package lists... Done
This doesn't work:
docker run -it --network bridge ubuntu:12.04 bash
root@32a12a2483a6:/# apt-get update
...
Err http://archive.ubuntu.com precise/main Sources
404 Not Found [IP: 185.125.190.39 80]
...
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/main/source/Sources 404 Not Found [IP: 185.125.190.39 80]
...
I am just starting to use Docker, so far my searches found nothing that can help.
Please help me get any networking tools, any way to get the debians I need into the image, or give me ideas on troubleshooting.