Back
Hello guys, I have created Dockerfile and I wanted to know that how do I add comments in this file? Is there any way in docker which allows adding comment option that takes the rest of a line and ignores it?
Just try using '#' and it will treat the whole line as a comment in your docker file.
For example:
# Everything in this line is a comment
31k questions
32.8k answers
501 comments
693 users