I recommend setting up a per-container user to help keep things well segmented.
HUMONGOUS ENTERTAINMENT HEX EDITOR PAJAMA SAM 1 INSTALL
This will install the latest version of the MongoDB container from docker.io. Once you've got Docker working on your virtual machine, getting the MongoDB docker container (where it's preinstalled and ready to go) is simple:
![humongous entertainment hex editor pajama sam 1 humongous entertainment hex editor pajama sam 1](https://static.wikia.nocookie.net/humongous/images/9/97/Pajama_Sam_and_Otto.png)
You simply re-launch the container making sure it points properly to the persistent stuff you want it to use. You can do that to quickly upgrade it, or to change its properties. That means that you can blow it away at any time without losing any important data. Note: the idea with Docker is that nothing important is stored in the container itself. Once you've got a working Docker container install going on your server, you can continue to the next step. It also covers installing on other versions of Ubuntu which might be helpful for some.
![humongous entertainment hex editor pajama sam 1 humongous entertainment hex editor pajama sam 1](https://i.ytimg.com/vi/oZsRDBEaUYA/maxresdefault.jpg)
Rather than trying to write a comprehensive guide to installing Docker, I'll instead recommend that you have a look at this one provided by the Docker community.
![humongous entertainment hex editor pajama sam 1 humongous entertainment hex editor pajama sam 1](https://steamcommunity.com/economy/profilebackground/items/283960/7d7c442d4e107107c3c4f7d2af2b291b5574225b.jpg)
The motivation for installing MongoDB is that it is the key-value based data container engine used by two compelling web technologies, Rocket.Chat and Wekan, that the OER Foundation has deployed for the OERu as and. (Update: we've just published an easier way to run MongoDB and Rocket.Chat and Wekan which depend on it) This post describes installing MongoDB (and backing it up and restoring from backup) in a Docker container on an Ubuntu Linux 14.04 virtual machine.