How execute a docker file...??

How execute a docker file...??

Here’s the steps:

  1. Make your current directory to that of docker file’s directory.

  2. Run: docker build -t java-app .

  3. Run: docker run java-app java Main