๐ mariaDB login
๐ mariadb ๋ก๊ทธ์ธ ๋ฐฉ๋ฒ (docker mariadb ์์ ์คํ)
mysql -u root -p
๐ database ๋ณํ
MariaDB [mysql]> use {์ฌ์ฉํ DB ์ด๋ฆ๋ฆ}
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
๐ docker mariadb image
๐ docker image ์ค์ง์คํ ๋ฐฉ๋ฒ
docker stop {mariadb image ์ด๋ฆ}
docker restart {mariadb image ์ด๋ฆ}
๐ docker์์ ์คํ ์ค์ธ image ๋ณด๋ ๋ฐฉ๋ฒ
~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
{mariadb container ID} mariadb:1.1.1.1 "docker-entrypoint.s…" 2 months ago Up 18 minutes 0.0.0.0:13306->3306/tcp, :::13306->3306/tcp {mariadb image ์ด๋ฆ}
๐ docker mariadb image ์ ์ ๋ฐฉ๋ฒ
~$ docker exec -it {mariadb container ID} bash
root@{mariadb container ID}:
'DevOps' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Jenkins Pipeline / Pipeline Script ์์ฑ (2) | 2020.12.09 |
---|---|
Jenkins ์ฌ์ฉ๋ฒ / Jenkins Pipeline (2) | 2020.12.09 |