Skip to main content

Docker on Google Cloud Platform: How to Get the Most Out of It

During this week I heard a lot of buzz around Docker. It was not such a surprise, given that the DockerCon took place in San Francisco just a few days ago. It has been an amazing couple of weeks with a lot of interesting discussions about this quite recent software that is spreading more and more around the world and is getting a lot of hype and interest. So much interest that a couple of days ago Google announced a piece of interesting news with regard to support for it on its cloud platform.

Quite a lot of stuff, then: let’s take it one bite at a time.

So, what is this Docker thing?

Shortly, Docker is an open source software thought for developers and sysadmins. It is targeted at automating the build, deployment, and run of applications inside software containers. It is built on top of the well known LXC (Linux Container), which is another software which on its turn uses Linux kernels’ cgroups and namespace support to provide an isolated environment for applications. Seen from a developer perspective, using Docker you can package an application and all of its dependencies in a virtual container that can run on any Linux server, and on other OSes as well. This gives you a huge amount of flexibility and portability on where the application can run, starting from your own laptop up to the public cloud.

Docker consists of two different elements. The first one is called Docker Engine. It’s a portable, lightweight runtime and packaging tool. It’s the component which actually takes care of creating containers and running the apps in them. The second one is called Docker Hub. It’s a cloud service for sharing applications and automating workflows. The combination of the two allows you to quickly assemble apps and the great, amazing advantage is that you can ship and run the same app, unchanged, on a laptop, on your data center, on your IaaS cloud service, everywhere else.

Since it works at a quite low level, developers can build an app in any language using any toolchain, and sysadmins will get standardized environments which abstract away differences in OS distributions and underlying infrastructure. And Docker does all of that in a really great way. I’m sure you got why everyone is so fond of it.
Virtual Machines vs. Docker

Kubernetes, Google’s latest idea to get full Docker support

Given the huge interest for Docker, Google took the wise decision to release improved Docker image support in Compute Engine about a month ago. The latest news is that they also added a set of extensions that allow developers to build and deploy Docker images in Managed VMs. If you want to try them up, sign up via the form Google made available.

But the news I like most is this open source container manager that Google announced under the name of Kubernetes. It allows you to deploy containers into a fleet of machines, providing health management and replication capabilities, making it easy for containers to connect to one another and the outside world. Google made it extensible, and open source too, and I expect that those two wise decisions will allow a lot of community contributions to flow towards the GitHub repository where the code is stored, and let the project grow fast. My hope is that other cloud providers will work on adding such a great support level on Docker. It’s an amazing project, in a phase of rapid growth, with a huge community behind it and an even bigger community of users and is likely to become the de-facto standard for containers.

Here at Cloud Academy, we’re doing a big effort to bring you the best content to start learning Google Compute Engine.

Avatar

Written by

Andrea Colangelo

Software Engineer with a solid focus on QA and an extensive experience in ICT. Above all, Andrea has a very strong interest in Free and Open Source Software, and he is a Debian and Ubuntu Developer since years. Non-tech interests include: Rugby, Jazz music and Cooking.

Related Posts

Avatar
Scott Huntington
— March 25, 2019

How Does Cloud Computing Work?

Whether you're looking to become a cloud engineer or you're a manager wanting to gain more knowledge, learn the basics of how cloud computing works.Are you wondering about how cloud computing actually works? We can help explain the basic principles behind this technology. Cloud comput...

Read more
  • Cloud Computing
Avatar
Guy Hummel
— March 4, 2019

What is Ansible?

What is Ansible? Ansible is an open-source IT automation engine, which can remove drudgery from your work life, and will also dramatically improve the scalability, consistency, and reliability of your IT environment. We'll start to explore how to automate repetitive system administratio...

Read more
  • Ansible
  • Cloud Computing
Avatar
Cloud Academy Team
— February 11, 2019

What is Puppet? Get Started With Our Course

When it comes to building and configuring IT infrastructure, especially across dozens or even thousands of servers, developers need tools that automate and streamline this process. Enter Puppet, one of the leading DevOps tools for automating delivery and operation of software no matter ...

Read more
  • Cloud Computing
  • Puppet
Avatar
Andrew Larkin
— January 15, 2019

2018 Was a Big Year for Content at Cloud Academy

As Head of Content at Cloud Academy I work closely with our customers and my domain leads to prioritize quarterly content plans that will achieve the best outcomes for our customers.We started 2018 with two content objectives: To show customer teams how to use Cloud Services to solv...

Read more
  • AWS
  • Azure
  • Cloud Computing
  • Google Cloud Platform
Avatar
Cloud Academy Team
— December 21, 2018

2019 Cloud Computing Predictions

2018 was a banner year in cloud computing, with Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP) all continuing to launch new and innovative services. We also saw growth among enterprises in the adoption of methodologies supporting the move toward cloud-native...

Read more
  • Cloud Computing
  • Cloud Predictions
Albert Qian
Albert Qian
— August 28, 2018

Introducing Assessment Cycles

Today, cloud technology platforms and best practices around them move faster than ever, resulting in a paradigm shift for how organizations onboard and train their employees. While assessing employee skills on an annual basis might have sufficed a decade ago, the reality is that organiz...

Read more
  • Cloud Computing
  • Product Feature
  • Skill Profiles
Avatar
Stefano Bellasio
— July 31, 2018

Cloud Skills: Transforming Your Teams with Technology and Data

How building Cloud Academy helped us understand the challenges of transforming large teams, and how data and planning can help with your cloud transformation.When we started Cloud Academy a few years ago, our founding team knew that cloud was going to be a revolution for the IT indu...

Read more
  • Cloud Computing
  • Skill Profiles
Avatar
Andrew Larkin
— June 26, 2018

Disadvantages of Cloud Computing

If you want to deliver digital services of any kind, you’ll need to compute resources including CPU, memory, storage, and network connectivity. Which resources you choose for your delivery, cloud-based or local, is up to you. But you’ll definitely want to do your homework first. In this...

Read more
  • AWS
  • Azure
  • Cloud Computing
  • Google Cloud Platform
Albert Qian
Albert Qian
— May 23, 2018

Announcing Skill Profiles Beta

Now that you’ve decided to invest in the cloud, one of your chief concerns might be maximizing your investment. With little time to align resources with your vision, how do you objectively know the capabilities of your teams?By partnering with hundreds of enterprise organizations, we’...

Read more
  • Cloud Computing
  • Product Feature
  • Skill Profiles
Avatar
Cloud Academy Team
— April 5, 2018

A New Paradigm for Cloud Training is Needed (and Other Insights We Can Democratize)

It’s no secret that cloud, its supporting technologies, and the capabilities it unlocks is disrupting IT. Whether you’re cloud-first, multi-cloud, or migrating workload by workload, every step up the ever-changing cloud capability curve depends on your people, your technology, and your ...

Read more
  • Cloud Computing
Avatar
Tyler Stearns
— March 29, 2018

What is Chaos Engineering? Failure Becomes Reliability

In the IT world, failure is inevitable. A server might go down, an app may fail, etc. Does your team know what to do during a major outage? Do you know what instances may cause a larger systems failure? Chaos engineering, or chaos as a service, will help you fail responsibly.It almo...

Read more
  • Cloud Computing
  • DevOps
Avatar
Cloud Academy Team
— November 22, 2017

AWS re:Invent 2017: Themes and Tools Shaping Cloud Computing in 2018

As the sixth annual re:Invent approaches, it’s a good time to look back at how the industry has progressed over the past year. How have last year’s trends held up, and what new trends are on the horizon? Where is AWS investing with its products and services? How are enterprises respondi...

Read more
  • AWS
  • Cloud Adoption
  • Cloud Computing
  • re:Invent 2017