A simple cheat sheet to remember some commands.
docker exec -it mysql mysql -p
secret
docker exec -it redis redis-cli
docker compose up --scale app-frontend=0
docker exec -it {containername} /bin/bash
docker rmi $(docker images | grep '<none>')
docker exec -it keycloak curl -X POST 'http://keycloak:8080/auth/realms/popupchinese/protocol/openid-connect/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'client_id=popupchineseapp' \
--data-urlencode 'username=user1' \
--data-urlencode 'password=user1'
docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id