$ docker build -t [유저아이디]/[도커이미지이름] .
$ docker push [유저아이디]/[도커이미지이름]
$ docker pull [유저아이디]/[도커이미지이름]
docker run -d --network ecommerce-network \
--name user-service \
-e "spring.cloud.config.uri=http://config-service:8888" \
-e "spring.rabbitmq.host=rabbitmq" \
-e "spring.zipkin.base-url=http://zipkin:9411" \
-e "eureka.client.serviceUrl.defaultZone=http://discovery-service:8761/eureka/" \
-e "logging.file=/api-logs/users-ws.log" \
gyeom/user-service:1.0
'DevOps. > Docker' 카테고리의 다른 글
[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 |
[Docker] Docker 컨테이너 (0) | 2022.01.28 |
[Docker] 컨테이너 가상화 (0) | 2022.01.28 |