Deploying Container Images
In this chapter, I will introduce the principles of the DevOps movement and demonstrate how to apply them to embedded Linux. First, we will learn how to use Docker to bundle a Python application together with its user-space environment inside a container image. Next, we will set up a Docker-based continuous integration and continuous delivery (CI/CD) pipeline for a Python Bluetooth server application. Then I will demonstrate how to quickly add Docker to a Yocto image for the Raspberry Pi 4. Lastly, we will deploy a containerized software update to a Raspberry Pi 4 running Docker.
In this chapter, we will cover the following topics:
- What is DevOps?
- DevOps and embedded Linux
- Deploying Python applications with Docker
- Setting up a CI/CD pipeline for a Python application
- Adding Docker to a Yocto image
- Updating software with Docker