Description
Learn how to create Docker images with Dockerfiles.
Gaining a mastery of Docker starts with the Dockerfile. Creating and maintaining Dockerfiles requires an understanding of the supported instructions. This hands-on lab explores the structure and usage of Dockerfiles.
Learning Objectives
At the end of this lab you'll be familiar with the following:
- Dockerfile instructions
- FROM
- RUN
- COPY
- ADD
- ENTRYPOINT
- CMD
- EXPOSE
- ARG
- LABEL
- Dockerfile concepts
- Multi-stage builds
- BuildKit enhanced RUN instructions
Prerequisites:
Target Audience
- Software engineers
- Data engineers
- DevOps engineers
- Site reliability engineers
Updates
July 22nd, 2024 - Resolved Dockerfile and check issue
About the author
![Avatar](https://assets.cloudacademy.com/bakery/media/uploads/corn/59f86056ea92e6485d5f6e5a.png)
Ben Lambert is a software engineer and was previously the lead author for DevOps and Microsoft Azure training content at Cloud Academy. His courses and learning paths covered Cloud Ecosystem technologies such as DC/OS, configuration management tools, and containers. As a software engineer, Ben’s experience includes building highly available web and mobile apps. When he’s not building software, he’s hiking, camping, or creating video games.