![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
docker build -t gyeom/config-service:1.0 .
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
docker run -d -p 8888:8888 --network ecommerce-network \
-e "spring.rabbitmq.host=rabbitmq" \
-e "spring.profiles.active=default" \
--name config-service gyeom/config-service:1.0
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
![](https://blog.kakaocdn.net/dn/ld5G7/btrr2W4uTnL/L1QOzzZOqmxc0otxPp38fk/img.png)
![](https://blog.kakaocdn.net/dn/bzpIfM/btrr05uSHWv/16kS92HDhD4mERX2jDH2zk/img.png)
'DevOps. > Docker' 카테고리의 다른 글
[Docker] ApiGateway Service 도커 이미지 생성하기 (0) | 2022.01.29 |
---|---|
[Docker] Discovery Service 도커 이미지 생성하기 (0) | 2022.01.29 |
[Docker] docker: Error response from daemon: Ports are not available: listen tcp 0.0.0.0:4369: bind: address already in use. (0) | 2022.01.28 |
[Docker] RabbitMQ 컨테이너 구동하기 (0) | 2022.01.28 |
[Docker] Docker를 활용한 MSA 애플리케이션 배포 구성 (0) | 2022.01.28 |