# Building your first Dockerfile, Image, and Container

DevFeed: [Building your first Dockerfile, Image, and Container](<https://devfeed.tech/articles/building-your-first-dockerfile-image-and-container-10523.md>)

Original publisher: [Read original article](<https://technotim.com/posts/custom-docker-image/>)

Author: Techno Tim

Published: 2022-02-26T13:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [Dockerfile](<https://devfeed.tech/topics/dockerfile.md>), [Docker Image](<https://devfeed.tech/topics/docker-image.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Docker Container](<https://devfeed.tech/topics/docker-container.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [building](<https://devfeed.tech/tags/building.md>), [container](<https://devfeed.tech/tags/container.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-container](<https://devfeed.tech/tags/docker-container.md>), [docker-image](<https://devfeed.tech/tags/docker-image.md>), [image](<https://devfeed.tech/tags/image.md>), [quick-start](<https://devfeed.tech/tags/quick-start.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

A beginner tutorial that starts with an empty Dockerfile and explains how to create, build, and run a custom Docker image and container. It also covers commands for maintaining Docker images and containers.

## Source excerpt

We spin up all types of containers on my channel in my tutorials, but we have yet to build our own custom Docker container image.Today we'll start from scratch with an empty Dockerfile and create, build, and run our very own custom Docker image! We'll learn all the commands that everyone should know when building and maintaining images with Docker.This tutorial is a great way to get started wi...