Docker Community Forums

Share and learn in the Docker community.

Docker won't build a container on Ubuntu 14.04 via AWS

(Roberto55) #1

I’m using Ubuntu 14.04 via AWS.

My Docker build is failing:

sudo docker build -t nginx_img_1 .

I see these errors (among others):

W: Failed to fetch 404 Not Found [IP: 80]

W: Failed to fetch 404 Not Found [IP: 80]

I cannot download the packages themselves to try to get Docker to work. Those URLs are indeed broken: just try to go them manually in a web browser. Someone else out there is using Docker on Ubuntu with AWS. What are those people doing? Is there a configuration file that I can use to circumvent this error?

(Nick Hazlett) #2

This forum thread might help you out:

I tested commenting out RUN echo "deb raring main universe" >> /etc/apt/sources.list and it resulted in a successful build.