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

Juan Herrera
seal-mask
.a{fill-rule:evenodd;}techdegree
Juan Herrera
Full Stack JavaScript Techdegree Student 13,423 Points

Error at the Docker build

When I type docker build -t mongodb . on the terminal, I get this error message:

The command '/bin/sh -c set -x  && apt-get update && apt-get install -y --no-install-recommends wget && rm -rf /var/lib/apt/lists/*   && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)"     && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc"     && export GNUPGHOME="$(mktemp -d)"      && gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4    && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu   && rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc   && chmod +x /usr/local/bin/gosu
 && gosu nobody true    && apt-get purge -y --auto-remove wget' returned a non-zero code: 8

I think the Dockerfile is outdated, I took a good look at that portion of the file and probably things have changed around since but trying to correct it is beyond my capabilities.

Please help :C