588 B
588 B
Layer by Layer
Objective
Learn about image layers
Requirements
Make sure Docker is installed on your system and the service is started
# Fedora/RHEL/CentOS
rpm -qa | grep docker
systemctl status docker
Instructions
- Write a Dockefile. Any Dockefile! :) (just make sure it's a valid one)
- Build an image using the Dockerfile you've wrote
- Which of the instructions you've used, created new layers and which added image metadata?
- What ways are there to confirm your answer to the last question?
- Can you reduce the size of the image you've created?