Docker Kata 6: Creating Docker Images
Learn to create an image from a modified container and with Dockerfile.
The previous katas have used images provided on Docker Hub. Most of those images are created and managed by software vendors.
This kata will demonstrate how we can define and build our own images for our own use or to distribute to others. This kata will cover two ways to create an image:
- Commit changes to a modified container.
- Build an image from a Dockerfile.
Step 1: Create an image from a modified container
First,
Get hands-on with 1400+ tech skills courses.