Perform the following steps:
- Let's start a container from an ubuntu image using the docker container run command:
- Having launched the container, issue apt-get update from the container prompt to sync the package list, as shown in the following screenshot:
- Install the apache2 package using the apt-get install command:
- Now, open another terminal and create an image using the docker container run command:
As you can see, ...