Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

How to add a comment in a Dockerfile

Asked by Teresa Morris Apr 24, 2021 1.5K views 1 answer
Share

About this question

I have created Dockerfile and I wanted to know that how to add dockerfile comments? Is there any way in docker which allows adding a comment option that takes the rest of a line and ignores it?

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.