도커의 기본 사용법 정리
$ docker search [docker-image-name]
docker search postgres
docker search mysql
docker search mariadb
$ docker pull [docker-image-name]:[tag]
$ docker search postgres:latest
tag: latest 인 경우 가장 최신의 image를 받아 온다. (생략가능)
$ docker rmi [docker-image-name]
$ docker rmi postgres
$ docker ps
OR
$ docker container ls
$ docker ps -a
OR
$ docker container ls -a
$ docker ps -a -q
$ docker rm
(docker ps -a -q)
$ docker rm
container id
OR
$ docker rmcontainer name
docker rm f38eb719409e
docker rm mariadb_3306
$ docker rm
image name
$ docker logs [docker-image-name]
docker logs postgres_5432