charts/docs/build-and-push-container-images.md
Building docker image with docker command for `dev` environment:
```shell
GIT_SHA=$(git rev-parse HEAD)
docker build -f ./distribution/docker-images/dev.Dockerfile -t styled-java-patterns -t styled-java-patterns:$GIT_SHA .
```
Running docker containers via `docker-compose` command:
```shell
docker-compose -f docker-compose.yml build
docker-compose -f docker-compose.yml up --detach
```
Removing docker containers via `docker-compose` command:
```shell
docker-compose -f docker-compose.yml down --volumes --remove-orphans
```
Running docker image with `skaffold` command:
```shell
skaffold run --filename='skaffold.docker.yaml' --tail
```
or
Running ***<template>*** = \[`docker` | `helm` | `kustomize` | `kubectl`] deployment with `skaffold` command in development
mode:
```shell
skaffold dev --filename='skaffold.<template>.yaml' --timestamps=false --update-check=true --interactive=true
```
Shutting down ***<template>*** deployment with `skaffold` command:
```shell
skaffold delete --filename='skaffold.<template>.yaml'
```
Running k8s cluster with `tilt` command by acquiring k8s deployment configuration:
```shell
tilt up
```
Shutting down k8s cluster with `tilt` command with provisioned resources removal:
```shell
tilt down --delete-namespaces
```