docker build -t haanmo/microservice_sample:1.0 .
docker push haanmo/microservice_sample:1.0
Container
docker run -d -p 3306:3306 --net=jnw --name=db db
docker run -d -p 8080:8080 --net=jnw --name=jpetstore jpetstore
docker inspect 95fd3e64b5e5
docker exec -it 95fd3e64b5e5 /bin/bash
Network
docker-machine ip default
docker network ls
docker network rm my-network
댓글 없음:
댓글 쓰기