Build a docker image using the Dockerfile in the current directory

docker build

  • Build an image from a Dockerfile.
    More information: <https://docs.docker.com/engine/reference/commandline/build/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

docker build .

click the source code to copy install docker build on any operating system with command-not-found.com