How do I make a comment in a Dockerfile?
Asked 07 September, 2021
Viewed 2.2K times
  • 57
Votes

I am writing a Dockerfile. Is there a way to make comments in this file?

Does Docker have a comment option that takes the rest of a line and ignores it?

7 Answer