docker build -t imageName:imageTag pathToDockerfileDirectory/ Example: docker build -t vieux/apache:2.0 .