Leveraging Docker and Kubernetes for Advanced Configurations
In the previous chapter, we looked at implementing continuous deployment through Bitbucket Pipelines and worked with various platforms using various technologies. However, we reserved discussions of deploying with Docker and Kubernetes until now. Bitbucket Pipelines can leverage containers for its build environment, as a build package, and even as runners to run pipeline executions. In each case mentioned, you can use a public image or create and use a private image.
In this chapter, we will examine using Docker container technology and Kubernetes. We’ll cover the following recipes in this chapter while implementing Bitbucket Pipelines:
- Using a Docker image as a build environment
- Using containerized services in Bitbucket Pipelines
- Using Docker commands in Bitbucket Pipelines
- Deploying a Docker image to Kubernetes using Bitbucket Pipelines
- Setting up Docker-based runners in Linux
Let...