Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Introduction to Docker Managing Images and Containers Managing Images

Can't build the image using the provided docker file.

MacBook-Pro:mongo-entrypoint me$ docker build -t mongodb . [+] Building 20.5s (8/16)
=> [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 3.25kB 0.0s => [internal] load metadata for docker.io/library/debian:jessie-slim 1.6s => [auth] library/debian:pull token for registry-1.docker.io 0.0s => [internal] load build context 0.0s => => transferring context: 7.78kB 0.0s => [ 1/11] FROM docker.io/library/debian:jessie-slim@sha256:b9b0e735409 11.2s => => resolve docker.io/library/debian:jessie-slim@sha256:b9b0e7354098cb 0.0s => => sha256:beeb8c54c8d905abe167cc7a239300c5915871265 26.32MB / 26.32MB 9.9s => => sha256:b9b0e7354098cbd534861d7532c082fb81cdb4d893303ba 982B / 982B 0.0s => => sha256:33b4520d42b187b5cd44bda1d2c0c9d04fb94f8b85fd1db 529B / 529B 0.0s => => sha256:10b6cd3d47f10b6717937becc883349611335ae9e91 1.46kB / 1.46kB 0.0s => => extracting sha256:beeb8c54c8d905abe167cc7a239300c5915871265cfb45c5 1.2s => [ 2/11] RUN groupadd -r mongodb && useradd -r -g mongodb mongodb 0.6s

=> ERROR [ 3/11] RUN apt-get update && apt-get install -y --no-install- 6.9s

[ 3/11] RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates jq numactl && rm -rf /var/lib/apt/lists/*:
0 4.501 Ign http://security.debian.org jessie/updates InRelease
0 4.529 Ign http://deb.debian.org jessie InRelease 0 4.598 Ign http://deb.debian.org jessie-updates InRelease 0 4.629 Ign http://security.debian.org jessie/updates Release.gpg 0 4.653 Ign http://deb.debian.org jessie Release.gpg 0 4.670 Ign http://security.debian.org jessie/updates Release 0 4.698 Ign http://deb.debian.org jessie-updates Release.gpg 0 4.749 Ign http://deb.debian.org jessie Release 0 4.796 Err http://security.debian.org jessie/updates/main armhf Packages 0 4.796
0 4.807 Ign http://deb.debian.org jessie-updates Release 0 5.015 Err http://security.debian.org jessie/updates/main armhf Packages 0 5.015
0 5.155 Err http://security.debian.org jessie/updates/main armhf Packages 0 5.155
0 5.294 Err http://security.debian.org jessie/updates/main armhf Packages 0 5.294
0 5.431 Err http://security.debian.org jessie/updates/main armhf Packages 0 5.431 404 Not Found [IP: 151.101.130.132 80] 0 6.711 Err http://deb.debian.org jessie/main armhf Packages 0 6.711 404 Not Found 0 6.852 Err http://deb.debian.org jessie-updates/main armhf Packages 0 6.852 404 Not Found 0 6.863 W: Failed to fetch http://security.debian.org/debian-security/dists/jessie/updates/main/binary-armhf/Packages 404 Not Found [IP: 151.101.130.132 80] 0 6.863 0 6.863 W: Failed to fetch http://deb.debian.org/debian/dists/jessie/main/binary-armhf/Packages 404 Not Found 0 6.863 0 6.863 W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-armhf/Packages 404 Not Found 0 6.863

0 6.863 E: Some index files failed to download. They have been ignored, or old ones used instead.

Dockerfile:6

5 |
6 | >>> RUN apt-get update \ 7 | >>> && apt-get install -y --no-install-recommends \ 8 | >>> ca-certificates \ 9 | >>> jq \ 10 | >>> numactl \ 11 | >>> && rm -rf /var/lib/apt/lists/*

12 |

ERROR: failed to solve: process "/bin/sh -c apt-get update \t&& apt-get install -y --no-install-recommends \t\tca-certificates \t\tjq \t\tnumactl \t&& rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100