Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Thanks for the info, I would like to add that DockerFile is a script that houses instructions needed to create an image. The image can then be created based on the instructions in the DockerFile using the Docker build command. It simplifies deployment of an image by easing the entire image and container creation process.
http://flux7.com/blogs/docker/docker-tutorial-series-part-3-automation-is-the-word-using-dockerfile/
This comment has been deleted
One thing to note, each time you use the RUN command, it makes a layer in your image which may bloat your total image tree (if you run docker images --tree in the terminal to view the tree structure).
If you don’t want all those layers, use a single RUN command. A great example of this is actually the Dockerfile for the ubuntu image.
Instead of -name in the last command, should be --name. Really useful article! Congratulations!
sudo docker run -name my_first_mdb_instance -i -t my_mongodb
wont’ work. Should be:
sudo docker run --name=my_first_mdb_instance -i -t my_mongodb
I noticed that you haven’t updated the ENV bit completely. I’m making notes and trying to learn and this almost messed me up save that I read the comments. You still have “key = value” as the explanation but your example is correct. This should be corrected in both places so as not to cause further confusion.
Also, your link to documentation on port forwarding under the bit on EXPOSE is a 404. Regarding the actual content of that section, you should explain how Docker knows what port will be mapped to 8080 or explain what default ports will be mapped to ones declared by EXPOSE. Reading this as a newb, I see I’m exposing 8080 but what port is that mapped to? 80? 443? 3306? Some more clarification on how that works would be good for newbs like me since that and the ENV leave much to be presumed, which is exactly the opposite of what a beginner tutorial should do.
I get the following error when I try to start the image >
[initandlisten] error couldn’t remove journal file during shutdown Couldn’t fsync directory ‘/data/db/journal’: errno:30 Read-only file system