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
Cloud Academy Team
— July 9, 2020

Which Certifications Should I Get?

The old AWS slogan, “Cloud is the new normal” is indeed a reality today. Really, cloud has been the new normal for a while now and getting credentials has become an increasingly effective way to quickly showcase your abilities to recruiters and companies. With all that in mind, the s...

Read more
  • AWS
  • Azure
  • Certifications
  • Cloud Computing
  • Google Cloud Platform
Haley Osborne
Haley Osborne
— July 6, 2020

Web Hosting vs. Cloud Hosting: What’s the Difference?

A growing number of businesses go online annually. This is not surprising because the future is in online sales. According to forecasts, only in the U.S., the number of online shoppers will increase to 300 million by 2023, which is 91% of the total population of the country. The begi...

Read more
  • Cloud Computing
  • cloud hosting
  • web hosting
Vinay Singh
Vinay Singh
— April 20, 2020

10 Benefits of Using Cloud Storage

It’s 2020, and now cloud storage has become one of the most convenient and efficient methods to store data online. There are many storage service providers on the internet, and this area is so vast now every big tech company owns a separate storage facility, which helps to generate a si...

Read more
  • Cloud Computing
  • Cloud Storage
  • Storage
Stefano Bellasio
Stefano Bellasio
— January 23, 2020

Learn Cloud Computing: Prerequisites

What are the prerequisites and requirements to learn cloud computing? This is the first article in a series to introduce our members to the prerequisites to learning cloud computing. This was a question I was emailed countless times from our users, and while we have Learning Paths, AWS...

Read more
  • Cloud Computing
  • Continuous Learning
Monica Rodriguez
Monica Rodriguez
— January 16, 2020

8 Financial Benefits of Cloud Migration

Companies that have long migrated to the cloud many times have confirmed the effectiveness of this solution from a practical point of view. This gives you more flexibility to perform tasks, work with data is organized more quickly and efficiently, and the data itself is stored under rel...

Read more
  • Cloud Computing
  • Cloud Migration
Avatar
Riley Mathews
— January 8, 2020

10 Reasons Digital Marketing Is More Successful With Cloud Computing 

Cloud computing and digital marketing Cloud computing is a technology that serves extensive benefits to businesses. It empowers them to operate more effectively and improve their productivity as well. This is because the tools and applications that are integrated into the cloud can be ...

Read more
  • Cloud Computing
  • digital marketing
Avatar
Riley Mathews
— December 18, 2019

Cloud Computing: Can It Be a Solution for Your Marketing Strategy?

The competition in the business landscape is daunting and you need to go the extra mile to establish your presence in the market. Besides just ensuring that the products you offer are of the best quality, your marketing strategy should also be better than the rest. Basically, it is all ...

Read more
  • Cloud Computing
  • marketing
  • marketing strategy
Chester Avey
Chester Avey
— November 7, 2019

Cloud Computing Solutions: 7 Trends for the Future

The world of cloud computing is in a state of flux. Not long ago, the cloud was considered an emerging technology, known only to IT specialists. Today it is a part of everyday life – 96% of businesses use the cloud in one form or another, and this number only looks set to grow. Whether ...

Read more
  • Cloud Computing
  • internet of everything
  • multi-cloud
  • Security
  • SEO
Avatar
Walter Stone
— October 10, 2019

8 Surprising Ways Cloud Computing Is Changing Education

Cloud computing: Empowering the education industry Over the years, the education industry has come a long way. Teaching and learning are no longer confined to textbooks and classrooms and now reaches computers and mobile devices. Today, learners are always connected — whether they are ...

Read more
  • Cloud Computing
  • education industry
Avatar
Michael Sheehy
— August 19, 2019

What Exactly Is a Cloud Architect and How Do You Become One?

One of the buzzwords surrounding the cloud that I'm sure you've heard is "Cloud Architect." In this article, I will outline my understanding of what a cloud architect does and I'll analyze the skills and certifications necessary to become one. I will also list some of the types of jobs ...

Read more
  • AWS
  • Cloud Computing
Avatar
Andrew Larkin
— August 7, 2019

Disadvantages of Cloud Computing

If you want to deliver digital services of any kind, you’ll need to estimate all types of resources, not the least of which are 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...

Read more
  • AWS
  • Azure
  • Cloud Computing
  • Google Cloud Platform
Avatar
Adam Hawkins
— June 12, 2019

What is Kubernetes? An Introductory Overview

In part 1 of my webinar series on Kubernetes, I introduced Kubernetes at a high level with hands-on demos aiming to answer the question, "What is Kubernetes?" After polling our audience, we found that most of the webinar attendees had never used Kubernetes before, or had only been expos...

Read more
  • Cloud Computing
  • Kubernetes