|
|
By Amit Gupta |
Article Rating: |
|
September 22, 2017 04:08 PM EDT |
Reads: |
167 |
Containers 101: What You Need to Know
Containers are the future of web development, in large part thanks to Docker's explosive growth. According to DataDog, 15 percent of hosts run Docker, which is significantly up from the 6 percent of hosts running it at this point in 2015. LinkedIn has also seen a 160 percent increase in profile references to Docker in just the past year alone, indicating Docker has become a much bigger priority for IT professionals looking for work. With this technology primed to continue its exponential growth in the coming years, here's a Q&A rundown of the basics: consider it Containers 101.
What are containers, exactly? And why are they so rapidly grabbing developer market share from virtual machines?
In order to better understand containers, it's helpful to consider them in contrast to virtual machines.
A virtual machine (VM) is an emulation of an entire operating system managed by a hypervisor. A VM may be run over the top of another OS or directly off the hardware. In either case, one VM can and usually will be run alongside other VMs, all of which are allocated their own set static space and resources by the hypervisor, with each VM acting as its own independent computer.
A container is a self-contained (it's right there in the name) execution environment with its own isolated network resources. At a quick glance, a container may appear very similar to a VM. The key difference is that a container does not emulate a separate OS. Containers instead create separate, independent user spaces that have their own bins and libs, but that share the host operating system's kernel with all other containers running on a machine. This being the case, containers do not need to be assigned their own set amount of RAM and other resources; they simply make use of whatever they need while they're running.
In short: a virtual machine virtualizes the hardware, while a container virtualizes the OS.
This means containers are significantly more lightweight than VMs. They can be spun up in seconds instead of minutes and you can run as many as 8x as many of them on a single machine. Since the OS has been abstracted away, containers can be easily moved from one machine to another. They're developer- and DevOps-friendly, and offer improved infrastructure and cost efficiency.
What is contained in a container? A container is made up of container images that bundle up the code and all its dependencies. One of these container images will be the app itself. The other images will be the libraries and binaries needed to run that app. All the images that make up the container are then turned into an image template that can be reused across multiple hosts.
It may sound like a lot of effort to add all the necessary individual images to a container, but all your images are stored and run out of a registry. If your application needs Ubuntu, PHP 7.0, and Apache to run then you'll reference these in your config file and your container manager will pull them from this registry (assuming they're there).
Where does Docker come into all of this? Containers are nothing new - they've been part of Linux since the creation of chroot in 1982 - but to run them, you need a container manager like the one referenced above. Docker is by far the most popular of these (it's nearly synonymous with containers at this point) and has been at the forefront of the rapid surge in container usage. What sets it apart?
The Docker Hub: This hub is the registry where your various images are privately stored. It's also a rich ecosystem of public images built by other Docker users that you can pull down and use for your own projects. Why do all the grunt work when there are other people out there who have already done it?
Portability: Containers are already portable just by the nature of their design, but Docker guarantees the environment will be exactly the same when moving an image from one Docker host to another so you can build once and run anywhere.
Easy Version History and Rollbacks: Docker containers are read-only post-creation. That doesn't mean you can't make changes. What it means is that any changes are used to create new images whenever you run the "docker commit" command. These new images become new containers that you run just like the original. If an alteration leads to problems in a new image, then you can simply go back to the previous one.
Docker is open source and its technology is the basis of the Open Containers Initiative, which is a Linux Foundation initiative focused on creating "industry standards around container formats and runtime." Google, Amazon, Microsoft and other industry leaders are also part of the OCI.
Are containers available only on Linux?
Until very recently the answer was yes, but Microsoft added container support to Windows Server 2016. This can be managed using Docker for Windows.
Will containers replace virtual machines?
Though containers will absolutely continue to rise in popularity, it's incredibly unlikely they'll replace VMs. Stateful application roles and legacy apps that cannot be refactored will continue to run on VMs. More likely the two will be used in concert with each other, each being put to use where most appropriate. Occasionally, containers might even be run within virtual machines, warping the space time continuum and confusing partisans of both approaches. We truly live in the future.
There are particular concerns about containers and security, as the varied images provide more points of entry for attackers and a container's direct access to the OS kernel creates a larger surface area for attack than would be found in a hypervisor-controlled virtual machine. Automation, as usual, is the key to ensuring solid security.
Amit Gupta’s career spans 19 years building software products and services across various domains including application hosting, public, private cloud infrastructures. At CloudPassage, he is a hands-on product executive leading definition and delivery of all product offerings. He is also responsible for evangelizing CloudPassage’s product strategy and vision with clients, partners and industry leaders.
Most recently, he led product management for VMware’s public cloud offering where he grew it from a concept to a global infrastructure offering across 11 data centers worldwide. Prior to VMware, he led product management for a cloud service broker platform at Cisco. And before that he held various engineering and product management roles at Ensim (acquired by Ingram Micro), building provisioning and automation software for infrastructure and application hosting services.
@CloudExpo Stories By Elizabeth White  In his session at @ThingsExpo, Greg Gorman is the Director, IoT Developer Ecosystem, Watson IoT, will provide a short tutorial on Node-RED, a Node.js-based programming tool for wiring together hardware devices, APIs and online services in new and interesting ways. It provides a browser-based editor that makes it easy to wire together flows using a wide range of nodes in the palette that can be deployed to its runtime in a single-click.
There is a large library of contributed nodes that help so... Sep. 22, 2017 06:30 PM EDT Reads: 647 | By Elizabeth White  What is the best strategy for selecting the right offshore company for your business?
In his session at 21st Cloud Expo, Alan Winters, U.S. Head of Business Development at MobiDev, will discuss the things to look for - positive and negative - in evaluating your options. He will also discuss how to maximize productivity with your offshore developers.
Before you start your search, clearly understand your business needs and how that impacts software choices. Sep. 22, 2017 06:30 PM EDT Reads: 334 | By Pat Romanski  IBM helps FinTechs and financial services companies build and monetize cognitive-enabled financial services apps quickly and at scale. Hosted on IBM Bluemix, IBM’s platform builds in customer insights, regulatory compliance analytics and security to help reduce development time and testing.
In his session at 21st Cloud Expo, Lennart Frantzell, a Developer Advocate with IBM, will discuss how these tools simplify the time-consuming tasks of selection, mapping and data integration, allowing devel... Sep. 22, 2017 06:15 PM EDT Reads: 375 | By Liz McMillan  SYS-CON Events announced today that Cedexis will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Cedexis is the leader in data-driven enterprise global traffic management. Whether optimizing traffic through datacenters, clouds, CDNs, or any combination, Cedexis solutions drive quality and cost-effectiveness. Sep. 22, 2017 06:15 PM EDT Reads: 298 | By Liz McMillan  SYS-CON Events announced today that Mobile Create USA will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Mobile Create USA Inc. is an MVNO-based business model that uses portable communication devices and cellular-based infrastructure in the development, sales, operation and mobile communications systems incorporating GPS capabi... Sep. 22, 2017 05:30 PM EDT Reads: 692 | By Liz McMillan  While some developers care passionately about how data centers and clouds are architected, for most, it is only the end result that matters. To the majority of companies, technology exists to solve a business problem, and only delivers value when it is solving that problem. 2017 brings the mainstream adoption of containers for production workloads.
In his session at 21st Cloud Expo, Ben McCormack, VP of Operations at Evernote, will discuss how data centers of the future will be managed, how th... Sep. 22, 2017 04:45 PM EDT Reads: 1,177 | By Liz McMillan  Why Federal cloud? What is in Federal Clouds and integrations? This session will identify the process and the FedRAMP initiative. But is it sufficient? What is the remedy for keeping abreast of cutting-edge technology?
In his session at 21st Cloud Expo, Rasananda Behera will examine the proposed solutions:
Private or public or hybrid cloud
Responsible governing bodies
How can we accomplish? Sep. 22, 2017 04:30 PM EDT Reads: 679 | By Elizabeth White  SYS-CON Events announced today that MIRAI Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
MIRAI Inc. are IT consultants from the public sector whose mission is to solve social issues by technology and innovation and to create a meaningful future for people. Sep. 22, 2017 04:00 PM EDT Reads: 681 | By Liz McMillan  SYS-CON Events announced today that Keisoku Research Consultant Co. will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Keisoku Research Consultant, Co. offers research and consulting in a wide range of civil engineering-related fields from information construction to preservation of cultural properties. For more information, vi... Sep. 22, 2017 03:45 PM EDT Reads: 674 | By Elizabeth White  Today most companies are adopting or evaluating container technology - Docker in particular - to speed up application deployment, drive down cost, ease management and make application delivery more flexible overall.
As with most new architectures, this dream takes significant work to become a reality. Even when you do get your application componentized enough and packaged properly, there are still challenges for DevOps teams to making the shift to continuous delivery and achieving that reducti... Sep. 22, 2017 03:30 PM EDT Reads: 414 | By Liz McMillan  Most of the time there is a lot of work involved to move to the cloud, and most of that isn't really related to AWS or Azure or Google Cloud. Before we talk about public cloud vendors and DevOps tools, there are usually several technical and non-technical challenges that are connected to it and that every company needs to solve to move to the cloud.
In his session at 21st Cloud Expo, Stefano Bellasio, CEO and founder of Cloud Academy Inc., will discuss what the tools, disciplines, and cultural... Sep. 22, 2017 03:00 PM EDT Reads: 782 | By Yeshim Deniz  SYS-CON Events announced today that Massive Networks, that helps your business operate seamlessly with fast, reliable, and secure internet and network solutions, has been named "Exhibitor" of SYS-CON's 21st International Cloud Expo ®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. As a premier telecommunications provider, Massive Networks is headquartered out of Louisville, Colorado. With years of experience under their belt, their team of... Sep. 22, 2017 03:00 PM EDT Reads: 2,353 | By Pat Romanski  SYS-CON Events announced today that Enroute Lab will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Enroute Lab is an industrial design, research and development company of unmanned robotic vehicle system. For more information, please visit http://elab.co.jp/. Sep. 22, 2017 02:30 PM EDT Reads: 793 | By Liz McMillan  SYS-CON Events announced today that Ryobi Systems will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Ryobi Systems Co., Ltd., as an information service company, specialized in business support for local governments and medical industry. We are challenging to achive the precision farming with AI. For more information, visit http:... Sep. 22, 2017 02:00 PM EDT Reads: 666 | By Liz McMillan  Today traditional IT approaches leverage well-architected compute/networking domains to control what applications can access what data, and how. DevOps includes rapid application development/deployment leveraging concepts like containerization, third-party sourced applications and databases. Such applications need access to production data for its test and iteration cycles. Data Security? That sounds like a roadblock to DevOps vs. protecting the crown jewels to those in IT. Sep. 22, 2017 01:45 PM EDT Reads: 382 | By Elizabeth White  21st International Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Me... Sep. 22, 2017 12:45 PM EDT Reads: 5,606 | By Elizabeth White  SYS-CON Events announced today that Fusic will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Fusic Co. provides mocks as virtual IoT devices. You can customize mocks, and get any amount of data at any time in your test. For more information, visit https://fusic.co.jp/english/. Sep. 22, 2017 12:00 PM EDT Reads: 790 | By Liz McMillan  The “Digital Era” is forcing us to engage with new methods to build, operate and maintain applications. This transformation also implies an evolution to more and more intelligent applications to better engage with the customers, while creating significant market differentiators.
In both cases, the cloud has become a key enabler to embrace this digital revolution. So, moving to the cloud is no longer the question; the new questions are HOW and WHEN. To make this equation even more complex, most ... Sep. 22, 2017 12:00 PM EDT Reads: 1,007 | By Liz McMillan  "NetApp's vision is how we help organizations manage data - delivering the right data in the right place, in the right time, to the people who need it, and doing it agnostic to what the platform is," explained Josh Atwell, Developer Advocate for NetApp, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY. Sep. 22, 2017 12:00 PM EDT Reads: 3,286 | By Pat Romanski  SYS-CON Events announced today that B2Cloud will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
B2Cloud specializes in IoT devices for preventive and predictive maintenance in any kind of equipment retrieving data like Energy consumption, working time, temperature, humidity, pressure, etc. Sep. 22, 2017 10:45 AM EDT Reads: 692 |
|
|
|
|
|
|