Difference between revisions of "Docker build"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  docker build .
 
  docker build .
  
  docker build --[[tag]] my-confluence-image --build-arg [[CONFLUENCE]]_VERSION=6.x.x
+
docker build -t my-image_name .
 +
 
 +
  docker build --[[tag]] my-confluence-image-name --build-arg [[CONFLUENCE]]_VERSION=6.x.x
  
 
  docker build -t myregistry.jfrog.io/backend/test --push --progress=plain .
 
  docker build -t myregistry.jfrog.io/backend/test --push --progress=plain .

Revision as of 17:23, 16 September 2021

docker build build an image from a Dockerfile
docker build .
docker build -t my-image_name .
docker build --tag my-confluence-image-name --build-arg CONFLUENCE_VERSION=6.x.x
docker build -t myregistry.jfrog.io/backend/test --push --progress=plain .
docker build -t openalpr https://github.com/openalpr/openalpr.git

docker build --build-arg arch=$arch -t your_artifactory.your_domain.com/test-multi-arch/busybox:$arch-test .
-t Tag an image https://docs.docker.com/engine/reference/commandline/build/#tag-an-image--t


docker build --cache-from=


docker build
"docker build" requires exactly 1 argument.
See 'docker build --help'.

Usage:  docker build [OPTIONS] PATH | URL | - 

Build an image from a Dockerfile

Related terms

See also

Advertising: