Cannot create mongodb image on Docker

I’m trying to create mongodb container in Docker. First, create ubuntu container in interactive mode.

$ sudo docker run -i -t ubuntu:12.04 /bin/bash

And install mongodb

  • Docker Containers Running When Daemon is Down
  • AWS ECS - Images from S3
  • how to assign a group of logical Linux interfaces to a Docker container?
  • volume not getting mounted in nginx container
  • How to consist the containers in Docker?
  • Dockerfile and Rails Error
  • $ export
    $ export
    $ echo 'deb dist 10gen' | tee /etc/apt/sources.list.d/10gen.list
    $ apt-key adv --keyserver hkp:// --recv 7F0CEB10
    $ apt-get update
    Get:27 precise-security/universe i386 Packages [126 kB]
    100% [Waiting for headers] 
    Err dist Release.gpg                                                                                                                   
    Connection failed

    I also set proxy in /etc/apt/apt.conf. How can I solve this problem? I did same in my Ubuntu machine and there was no problem.

  • Liberty Profile Docker for last version available?
  • Why is the OpenCL Kernel not using normal x y cooordinates with Image2D?
  • Multiple RUN vs. single chained RUN in Dockerfile, what is better?
  • Cannot access app in Docker container from outside
  • envsubst command getting stuck in a container
  • Postgres sql file seems to not finish
  • One Solution collect form web for “Cannot create mongodb image on Docker”

    Why not just pull down the mongodb image?

    docker run dockerfile/mongodb
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.