Skip to content

Instantly share code, notes, and snippets.

@thejsj
Created June 2, 2017 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thejsj/92d124deb8b116c552f209a3f25b457a to your computer and use it in GitHub Desktop.
Save thejsj/92d124deb8b116c552f209a3f25b457a to your computer and use it in GitHub Desktop.
Install Mongo in Docker Container
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
echo "deb [ arch=amd64 ] http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.4.list
apt-get update -y
apt-get install -y mongodb-org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment