$ ./gradlew.bat clean build startDocker # linux or mac -> ./gradlew startDocker
# 도커 실행 성공 로그
> Task :startDocker
Network infra_test-network Creating
Network infra_test-network Created
Container local-mariadb Creating
Container local-mariadb Created
Container skku-app Creating
Container skku-app Created
Container local-mariadb Starting
Container local-mariadb Started
Container skku-app Starting
Container skku-app Started
BUILD SUCCESSFUL in 1s
1 actionable task: 1 executed
$ ./gradlew logDocker
# 도커 전체 로그 조회
> Task :logDocker
local-mariadb | 2022-12-27 07:46:12+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
local-mariadb | 2022-12-27 07:46:13+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
local-mariadb | 2022-12-27 07:46:13+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.8+maria~focal started.
local-mariadb | 2022-12-27 07:46:13+00:00 [Note] [Entrypoint]: Initializing database files
이하 생략
$ ./gradlew.bat clean test # linux or mac -> ./gradlew clean test
# 애플리케이션 테스트 성공 로그
> Task :test
2022-12-26 00:11:33.219 INFO 21202 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2022-12-26 00:11:33.230 INFO 21202 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
BUILD SUCCESSFUL in 3s
5 actionable tasks: 5 executed