각 DB를 Docker에 띄우기
Postgres
$ docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=rootpass -d postgres
Database: postgres
Username: postgres
Password: rootpass
Oracle
docker run -d --name oracle -p 1521:1521 store/oracle/database-enterprise:12.2.0.1
Database: ORCLCDB (SID로 설정)
Username: system
Password: Oradoc_db1
Mysql
docker run -d --name mysql -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes mysql
Database: mysql
Username: root
MariaDB
docker run -d --name mariadb -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes mariadb
Database: mysql
Username: root
Cubrid
docker run -d --name cubrid -p 33000:33000 -e CUBRID_DB=cubrid -e CUBRID_LOCALE=ko_KR.utf8 cubrid/cubrid
Database: cubrid
Mssql
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Kt134679!' -p 1433:1433 --name mssql -d mcr.microsoft.com/mssql/server:2019-latest
Database: master
Username: SA
Password: Kt134679! (대소문자와 숫자 포함 8글자 이상)
Leave a comment