Containerfile
Another name for a Dockerfile, used by tools such as Podman and Buildah; the contents and instructions are the same.
In more detail
The course stores its two-stage build in a file named Containerfile. Docker can build it by pointing at the file with the -f option.
Example
docker build -f Containerfile -t inventory .Related terms
- Dockerfile — A text file of instructions, such as FROM, COPY and RUN, that tells Docker how to build an image.
- multi-stage build — A Dockerfile with several FROM stages, where later stages copy only what they need from earlier ones.
Taught in
- Packaging Into A Container — Modern Java: Virtual Threads & High-Throughput Services