How to write Dockerfile

Dockerfile Syntax Dockerfile syntax consists of two kind of main line blocks: comments and commands + arguments. # Print “Hello docker!” RUN echo “Hello docker!” COMMAND DESCRIPTION ADD Copies a file from the host system onto the container CMD The command that runs when the container starts(This CMD instruction is used to define what command … Continue reading How to write Dockerfile