---
title: "Discussion on \"Creating a Docker image using Dockerfile and Launch Container\" | Hashnode"
description: "Discussion on \"Creating a Docker image using Dockerfile and Launch Container\". Create directory for Dockerfile\n\nCreate Docker file, Name should be Dockerfile\n#Start with an #Ubuntu base image\nFROM ubuntu\n\n#Add metadata with a Name Label\nLABEL Name=\"Dinesh\"\n\n#Update packages and Install Apache2\nRUN apt-get update && apt-get inst..."
url: "https://hashnode.com/posts/creating-a-docker-image-using-dockerfile-and-launch-container/66bfd58e3d9010467b9d73d0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Creating a Docker image using Dockerfile and Launch Container](https://blog.dineshcloud.in/creating-a-docker-image-using-dockerfile-and-launch-container?utm_source=hashnode&utm_medium=feed)

Create directory for Dockerfile Create Docker file, Name should be Dockerfile #Start with an #Ubuntu base image FROM ubuntu #Add metadata with a Name Label LABEL Name="Dinesh" #Update packages and Install Apache2 RUN apt-get update && apt-get inst...

Aug 16, 2024 · 2 min read · blog.dineshcloud.in  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#devops](https://hashnode.com/tag/devops)
-   [#cloud](https://hashnode.com/tag/cloud)
-   [#dockerfile](https://hashnode.com/tag/dockerfile)
-   [#docker-images](https://hashnode.com/tag/docker-images)
-   [#dockercontainers](https://hashnode.com/tag/dockercontainers)
-   [#containers](https://hashnode.com/tag/containers)

## Written by

[Dinesh Kumar K](https://hashnode.com/@dineshkrish)

@dineshkrish · Trichy, Tamilnadu

  
[View profile](https://hashnode.com/@dineshkrish)

Hi there! I'm Dinesh, a passionate Cloud and DevOps enthusiast. I love to dive into the latest new technologies and sharing my journey through blog.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
