docker-compose build [services...]
Build or rebuild services
Arguments
Options
Name | Description |
---|
--build-arg <key=value> | |
--compress | Compress the build context using gzip. DEPRECATED |
--force-rm | Always remove intermediate containers. DEPRECATED |
--memory, -m <memory> | Set memory limit for the build container. Not supported on buildkit yet |
--no-cache | Do not use cache when building the image |
--no-rm | Do not remove intermediate containers after a successful build. DEPRECATED |
--parallel | Build images in parallel. DEPRECATED |
--progress <progress> | Set type of progress output (auto, tty, plain, quiet) |
--pull | Always attempt to pull a newer version of the image |
--quiet, -q | Don't print anything to STDOUT |
--ssh <ssh> | Set SSH authentications used when building service images. (use 'default' for using your default SSH Agent) |