Last active
September 27, 2017 06:11
-
-
Save c0debrain/7ccd92ece2c431f1002506737d88b2b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 | |
ubuntu 14.04: | |
echo "deb [ arch=amd64 ] http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list | |
ubuntu 16.04: | |
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list | |
sudo apt-get update | |
***Not in mongo's directions: but rather something i got from reading above comments: | |
sudo apt-get install mongodb | |
***At this point the version installed by mongo is an older version... for me ie. | |
sudo apt-get install -y mongodb-org | |
***Now, everything is installed correctly | |
commit docker | |
sudo docker commit <container_id> iman/ping |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment