O'Reilly logo

CoreOS Essentials by Rimantas Mocevicius

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying code on production cluster servers

In the previous chapters, we saw how to set up our Test/Staging environment on Google Cloud and deploy our code there, and we did set up our Docker builder and Docker Private Registry server.

In the next section, we will learn how to deploy code on our Web servers in Production cluster using Docker builder and Docker Private Registry.

Setting up the Docker builder server

Before we deploy our code from staging to production, we need to copy the Dockerfile and the build.sh and push.sh files to our Docker builder.

To do this, run the following commands:

$ cd coreos-essentials-book/chapter7/Test_Staging_Cluster/
$ ./install_website1_2_dbuilder.sh

You should see something like what is shown in the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required