Makefile overview

The Makefile in this repository is used to simplify and automate common Docker® tasks in this example. It contains the following tasks:

Summary of the Makefile.

Tasks

Description

build-image

Creates the Docker® image based on the Dockerfile in /tc31-xar-base

push-image

Transfers the created Docker® image to a specified Docker® registry.

run-containers

Starts the containers defined in the docker-compose.yaml file.

list-containers

Lists the running containers that are managed by Docker® Compose.

stop-and-remove-containers

Stops and removes all containers defined in the docker-compose.yaml file.

container-logs

Displays the logs of the running containers.