DOCKER(1) Docker User Manuals DOCKER(1) (NAME) docker-image-build - Dockerfile (SYNOPSIS) docker image build [OPTIONS] PATH | URL | - (DESCRIPTION) docker build. (OPTIONS) --add-host= IP ("host:ip") --build-arg= --cache-from=[] (cache) --cgroup-parent="" cgroup "RUN" --compress[=false] (build context) gzip --cpu-period=0 CPU CFS ( ) --cpu-quota=0 CPU CFS ( ) -c, --cpu-shares=0 ( ) --cpuset-cpus="" (0-3, 0,1) --cpuset-mems="" (MEMs) (0-3, 0,1) -f, --file="" Dockerfile ( "PATH/Dockerfile" ) --force-rm[=false] --iidfile="" (ID) --isolation="" --label= -m, --memory=0 --memory-swap=0 swap swap: 1- swap --network="default" RUN --no-cache[=false] (cache) --platform="" (platform) --pull[=false] -q, --quiet[=false] --rm[=true] --security-opt=[] --shm-size=0 "/dev/shm" --squash[=false] -t, --tag= "name:tag" --target="" --ulimit=[] ulimit (SEE ALSO) docker-image(1) Docker Community Aug 2026 DOCKER(1)