Docker : The next step beyond virtualization
https://towardsdatascience.com/the-what-and-why-of-docker-cdc8d99cbb3?gi=dff91cee54ed

Docker : The next step beyond virtualization

Docker carves up a running Linux system into small containers, each of which is it's own sealed little world, with it's own programs, and it's own everything. All isolated from anything else. These containers are designed to be portable so they can be shipped from one place to another, and Docker does the work of getting these containers to and from your systems. 


Docker also builds these containers for you, and it's a social platform to help you find and share containers with others who may have already built very similar work that you can build on top of. And let's get it up front, that Docker is not virtual machines. There's only a single operating system running. That operating system is just carved up into isolated little spaces. 


A container is a self contained sealed unit of software. It has everything in it that is needed to run that code. I mean all of it, batteries included, operating system included, it has all of the code, all of the configs, contains all the processes within that container, it has all of the networking to allow these containers to talk to the other containers they're supposed to be able to talk to, and nothing else.


 It has all the dependencies that your system needs, bundled up in that container. And it even includes just enough of the operating system to run your code. So the way it works, it takes all the services that make up a Linux server. Networking, storage, code, interprocess communication, the whole works, and it makes a copy of that in the Linux Kernel for each container. So each container has its own little world that it can't see out of, and other containers can't see in. 


You might have one container on a system running Red Hat Linux, serving a database, through a virtual network to another container running Ubuntu Linux, running a web server that talks to that database, and that web server might also be talking to a caching server that runs in a SUSE Linux based container. 


The important part to understand is it doesn't matter which Linux each container is running on, it just has to be a Linux. And Docker is the program which manages all of this. Sets it up, monitors it, and tears it down when it's no longer needed. Docker is a client program, named Docker, it's a command you type at the terminal. It's also a server program that listens for messages from that command, and manages a running Linux system. 

Docker has a program which builds containers from code. It takes your code along with its dependencies and bundles it up and then seals it into a container. And it's a service that distributes these containers across the internet and makes it so you can find other's work, and the right people can find your work. It is also a company that makes all of these.

Shankha Suvra

Driving systemic impacts towards Sustainability × Climate Action & Innovation

3 年

Can do something on Podman? I keep hearing from my engineering team how it's more secure and intuitive than Docker.

回复
Palak Jadwani

Senior Product Manager | Consumer Funnel, Customer Experience, Revenue Growth, Data Products | Mamaearth, Shiprocket, Tata

3 年

Real informative ??

要查看或添加评论,请登录

Ruchi Parijat的更多文章

  • Understanding Product Management vs. Project Management

    Understanding Product Management vs. Project Management

    Hey everyone! Today, I want to dive into a topic that often stirs up confusion in the business world: Product…

    6 条评论
  • The Many Hats of a Product Manager: How to Juggle, Prioritize, and Make Magic Happen!

    The Many Hats of a Product Manager: How to Juggle, Prioritize, and Make Magic Happen!

    Imagine you’re a circus performer. You’re the one juggling everything—keeping balls in the air, spinning plates, and…

    8 条评论
  • Understanding What Defines a Product

    Understanding What Defines a Product

    When you hear the word "product," your mind might immediately jump to familiar everyday items—things like clothes…

  • Who's the Tech PM?

    Who's the Tech PM?

    Hi, everyone, welcome to my new series about technical product manager, the role, which is rapidly growing in today's…

    6 条评论
  • Understanding how banks operate.

    Understanding how banks operate.

    Understanding how banks work and why they matter to the overall economy is critical. When you understand the role that…

    24 条评论
  • Critical Competencies for leaders

    Critical Competencies for leaders

    Leaders are facing unprecedented change, overwhelming complexity and increased competition. The shifts in the…

    7 条评论
  • Assessing your emotional wake

    Assessing your emotional wake

    As promised, I'm back with another article. Today i’ll talk about the importance of emotional wake in leadership.

    35 条评论
  • Lead the way, that’s leadership

    Lead the way, that’s leadership

    Leadership is amazing. This is an opportunity and a responsibility to help others to be successful.

    19 条评论
  • Cloud Computing (Part-a)

    Cloud Computing (Part-a)

    I thought of writing about my experience to talk about my journey with cloud services. If you have been looking to move…

    26 条评论
  • Opinions on Testing

    Opinions on Testing

    Testing is essential to delivering high-quality software. There are many tools to test the logic, UI, functionality and…

    17 条评论

社区洞察

其他会员也浏览了