In the last post we discussed an introduction to docker, in this post we will understand what a container is and how important containers are in docker world.
What is containers ?
They are an isolated, resource controlled, and portable operating environment.
Basically, a container is an isolated place where an application can run without affecting the rest of the system and without the system affecting the application. Containers are the next evolution in virtualization.
If you were inside a container, it would look very much like you were inside a freshly installed physical computer or a virtual machine.
Dependencies to run the software’s (like pre-requisite softwares)
And you name it
What if I change something in my software and dependencies ?
Docker includes git-like capabilities for tracking successive versions of a container, inspecting the diff between versions, committing new versions, rolling back etc.
The history also includes how a container was assembled and by whom, so you get full traceability from the production server all the way back to the upstream developer.
Docker also implements incremental uploads and downloads, similar to git pull, so new versions of a container can be transferred by only sending diffs.
Does these containers only has linux OS in it ?
Starting Windows Sever 2016*, there will be Windows Server containers, which provide greater level of flexibilities, using this, we can integrate with existing Windows technologies such as .NET, ASP.NET, PowerShell and more.
Here is the complete video of the above discussion
Thanks for reading the post and watching the video!!!
Please leave your comments and let me know if there is anything I should update in this post.
5 Replies to “Understanding and working with docker containers”
But IMHO, containers do not contain an operation system. Containers are rather resource friendly and multiple containers share operation system for greater resource efficiency.
I got your point wrong on reading your post, but in your video, you have mentioned the same point.
Thank you for your post. This was really an appreciating one. You done a good job. Keep on blogging like this unique information with us.
I am facing problem after installing docker tool box in my windows 7 operating system(as windows10 pro supports docker).
after installation i am clicking on the docker quick start terminal getting error.so do i need to enable hyper-v in my machine or how can i over come this error
Yes you need to Enable Hyper-V in your OS https://blogs.technet.microsoft.com/schadinio/2010/07/09/installing-hyper-v-manager-on-windows-7/