Technical requirements
For this chapter, we assume that you have Docker installed and running on a Linux machine running Ubuntu 16.04 Xenial LTS or later, with sudo
access. You can follow Chapter 2, Containerization with Docker, for more details on how to do that.
You will also need to clone the following GitHub repository for some of the exercises: https://github.com/PacktPublishing/Modern-DevOps-Practices.
Run the following command to clone the repository into your home directory, and cd
into the ch4
directory to access the required resources:
$ git clone https://github.com/PacktPublishing/Modern-DevOps-\ Practices.git modern-devops $ cd modern-devops/ch4
As the repository contains files with placeholders, you will have to replace the <your_dockerhub_user>
string with the your actual Docker Hub user. Use the following commands to substitute the placeholders.
$ find ./ -type f -exec sed -i -e 's/\ <your_dockerhub_user>/<your actual docker hub user...