---
title: "Updating our Docker prototype to work on GCE"
source: "https://wordpress-1075849-4005834.cloudwaysapps.com/blog/updating-our-docker-prototype-to-work-on-gce/"
---

[Technical Blog](https://wordpress-1075849-4005834.cloudwaysapps.com/category/technical-blog/)

# Updating our Docker prototype to work on GCE

By [Peter White](https://wordpress-1075849-4005834.cloudwaysapps.com/blog/author/peter-white/) on Dec 19, 2014 • 3 min read

Some time ago we wrote a [blog entry](http://dev-project-calico.pantheonsite.io/calico-and-docker-containers/) about our Docker prototype – where we showed that Calico ran successfully (and with no changes to the Felix and ACL Manager components) in a Docker environment, providing multi-host networking between containers.

Having published this, one of the questions we were asked was whether the same prototype code would work on the Google Compute Engine (GCE), which would provide us with a great platform for easily testing Calico across multiple hosts and containers. How hard could it be, we thought?

It turns out that the key issue with running on GCE is that it’s an L3 routed network, as opposed to an L2 switched fabric. Adding more complexity is the fact that each VM (and hence compute host) in GCE is on its own /32 subnet, with the GCE fabric providing default routing between hosts (yes, that means that the default gateway is not in the same subnet as the VM!). On one hand, this means that GCE can handle much of the routing that Calico would normally set up. However, in order to be a useful Calico test platform, we needed to ensure that the Calico driven routing was being correctly distributed by BIRD. Moreover, to demonstrate the Calico function in full we needed to make sure that if the “Calico routes” weren’t being distributed properly, then GCE wouldn’t just route between VMs for us.

Consequently, in order to get this working we did need to make some tweaks to the original prototype; in particular, we needed to update our BIRD configuration so that it would work alongside the GCE fabric. We also needed to work out how to configure GCE so that it really was Calico providing the routing between containers, and not the GCE fabric. More information on this GCE prototype and how to set it up are in the GitHub repository.

In the process, we also made some changes to the original prototype to improve the packaging and instructions. A summary of the key changes in this new prototype are as follows.

- First and foremost, the prototype used downloadable images rather than Dockerfiles. That was due to the need to download some internal packages, but we’ve sorted that out and replaced the images with Dockerfiles – simplifying and speeding up the install process. That also means that if you download the prototype, you’ll be able to examine and edit the test code much more easily.

- The procedures to download and run the demo have been simplified and rewritten, so it’s quicker and easier to get things up and running. As part of this, the instructions now collect logs from all components running in containers on the host, so if you do make a mistake setting it up you’ll find it easier to figure out what is going on.

- There are a range of improvements and fixes to the prototype code, including both the plugin code and the script to network a container, with a new script to network a pre-existing container.

All of this code, including the simplified and improved documentation, is publicly available on GitHub.

[Open Source](https://wordpress-1075849-4005834.cloudwaysapps.com/tags/open-source/)[Partner/Integration](https://wordpress-1075849-4005834.cloudwaysapps.com/tags/partner-integration/)[Project Calico](https://wordpress-1075849-4005834.cloudwaysapps.com/tags/project-calico/)

Add Tigera as a preferred source on Google to see more of our content in your search results.

[![Add as a preferred source on Google](https://wordpress-1075849-4005834.cloudwaysapps.com/app/themes/tigera2021/dist/img/google-preferred-source-light.png)](https://www.google.com/preferences/source?q=tigera.io)

## Related posts

[![What’s New in Calico: Winter 2026 Release](https://wordpress-1075849-4005834.cloudwaysapps.com/app/uploads/2026/03/What-is-new-in-Calico-winter-2026.png)](https://wordpress-1075849-4005834.cloudwaysapps.com/blog/whats-new-in-calico-winter-2026-release/)

[Company Blog](https://wordpress-1075849-4005834.cloudwaysapps.com/category/company-blog/)

#### [What’s New in Calico: Winter 2026 Release](https://wordpress-1075849-4005834.cloudwaysapps.com/blog/whats-new-in-calico-winter-2026-release/)

By [Veronika Smolik](https://wordpress-1075849-4005834.cloudwaysapps.com/blog/author/veronika-smolik/)
on Mar 4, 2026

AI Powered Intelligence, Unified Traffic Observability and Scalable Infrastructure Management As anyone managing one or more Kubernetes clusters knows by now, scaling can introduce an exponentially growing number of problems. The sheer volume of metrics,...

[Read more](https://wordpress-1075849-4005834.cloudwaysapps.com/blog/whats-new-in-calico-winter-2026-release/)

[![Join Calico at KubeCon Europe 2026: AI Agents, Silent Discos, and Dutch Delights!](https://wordpress-1075849-4005834.cloudwaysapps.com/app/uploads/2026/02/Blog-Kubecon-Euro-2026-.png)](https://wordpress-1075849-4005834.cloudwaysapps.com/blog/calico-at-kubecon-cloudnativecon-europe2026/)

#### [Join Calico at KubeCon Europe 2026: AI Agents, Silent Discos, and Dutch Delights!](https://wordpress-1075849-4005834.cloudwaysapps.com/blog/calico-at-kubecon-cloudnativecon-europe2026/)

By [Tigera Team](https://wordpress-1075849-4005834.cloudwaysapps.com/blog/author/marketingtigera-io/)
on Feb 25, 2026

The cloud-native community is heading to the historic canals and vibrant tech scene of Amsterdam for KubeCon + CloudNativeCon Europe 2026! From March 23–26, Amsterdam will be buzzing with the latest in Kubernetes, platform engineering,...

[Read more](https://wordpress-1075849-4005834.cloudwaysapps.com/blog/calico-at-kubecon-cloudnativecon-europe2026/)

[![Project Calico 3.30+ Hackathon: Show Us What You Can Build!](https://wordpress-1075849-4005834.cloudwaysapps.com/app/uploads/2026/02/Blog-Hackathon-.png)](https://wordpress-1075849-4005834.cloudwaysapps.com/blog/project-calico-3-30-hackathon-show-us-what-you-can-build/)

#### [Project Calico 3.30+ Hackathon: Show Us What You Can Build!](https://wordpress-1075849-4005834.cloudwaysapps.com/blog/project-calico-3-30-hackathon-show-us-what-you-can-build/)

By [Tigera Team](https://wordpress-1075849-4005834.cloudwaysapps.com/blog/author/marketingtigera-io/)
on Feb 17, 2026

Build the Future of Cloud-Native Networking! 🚀 The Calico community moves fast. With the releases of Calico 3.30 and 3.31, brings improvements in scalability, network security, and visibility. Now, we want to see what YOU...

[Read more](https://wordpress-1075849-4005834.cloudwaysapps.com/blog/project-calico-3-30-hackathon-show-us-what-you-can-build/)

<!-- plugin=object-cache-pro client=phpredis metric#hits=6281 metric#misses=17 metric#hit-ratio=99.7 metric#bytes=2181654 metric#prefetches=0 metric#store-reads=416 metric#store-writes=15 metric#store-hits=428 metric#store-misses=6 metric#sql-queries=31 metric#ms-total=1263.30 metric#ms-cache=59.23 metric#ms-cache-avg=0.1378 metric#ms-cache-ratio=4.7 sample#redis-hits=74687493 sample#redis-misses=9051427 sample#redis-hit-ratio=89.2 sample#redis-ops-per-sec=250 sample#redis-evicted-keys=0 sample#redis-used-memory=116116768 sample#redis-used-memory-rss=107241472 sample#redis-memory-fragmentation-ratio=0.9 sample#redis-connected-clients=1 sample#redis-tracking-clients=0 sample#redis-rejected-connections=0 sample#redis-keys=29881 -->
