Makefile overview
The Makefile in this repository is used to simplify and automate common Docker® tasks in this example. It contains the following tasks:
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. |
restart-containers | Restarts the containers (run `docker compose down` and then `docker compose up`) |
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 protocols of the running containers. |