Containers

How to create a new image using a Containerfile/Dockerfile?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

The following command is executed from within the directory where Dockefile resides:

docker image build -t some_app:latest . podman image build -t some_app:latest .