May 2017
Beginner
300 pages
7h 26m
English
In the previous section, we demonstrated how to craft a container taking ubuntu as a base image, and then running some basic commands, such as detaching and attaching the containers. In that process, we also exposed you to the docker ps subcommand, which provides the basic container management functionality. In this section, we will demonstrate how we can effectively track the changes that we introduced in our container and compare it with the image from which we launched the container. Let's launch a container in interactive mode, as in the previous section:
$ sudo docker run -i -t ubuntu:16.04 /bin/bash
Let's change the directory to /home, as shown here:
root@d5ad60f174d3:/# cd /home
Now, we can create ...
Read now
Unlock full access