Last updated
Last updated
This lesson focuses on the order that instructions are executed in when building an image. Some instructions may have unintended consequences that can cause your build to fail.
Step 1: Setup your environment:
Step 2: Create the Dockerfile:
Step 3: Creates a CentOS image that uses cloud_user as a non-privileged user
Dockerfile contents:
Step 4: Build the new image: