## Docker compose로 멀티 컨테이너를 실행합니다.
[root@workspace-vm deploy]# docker-compose up -d
Creating network "deploy_default" with the default driver
Creating redis ... done
Creating spring-demo ... done
[root@workspace-vm deploy]#
[root@workspace-vm deploy]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
fc98d294e435 sooabia/spring-demo:1.0 "java -jar /app.jar" 8 seconds ago Up 6 seconds 0.0.0.0:80->8080/tcp spring-demo
9ebfffd30318 redis "docker-entrypoint.s 9 seconds ago Up 7 seconds 0.0.0.0:6379->6379/tcp redis
[root@workspace-vm deploy]# |