본문 바로가기
728x90
반응형

image3

[Qwiklabs]Build and Deploy a Docker Image to a Kubernetes Cluster Tasks An application image with a v1 tag has been pushed to the gcr.io repository A new Kubernetes cluster exists (zone: us-central1-a) Check that an application has been deployed to the cluster Test that a service exists that responds to requests like Echo-app 1. 클러스터 생성 gcloud beta container --project "qwiklabs-gcp-00-337f72711928" clusters create "echo-cluster" --zone "us-central1-a" --no-ena.. 2020. 3. 26.
[GCP] Google Cloud 컨테이너 레지스트리에 이미지 push 하기 먼저 Dockerfile 이 있다고 가정한다. 내가 만든 이미지는 spring boot 어플리케이션이다. Dockerfile 12345FROM openjdk:8-jdk-alpineVOLUME /tmpCOPY ./build/libs/mail-0.0.1-SNAPSHOT.jar app.jarRUN echo 'Mail Service running'ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]cs 이제 이 Dockerfile 을 빌드를 한다. sudo docker build -t asia.gcr.io/[GOOGLE_PROJECT_ID]/mail-service:v1 . docker build : 컨테이너를 만드는 명령어.. 2018. 10. 19.
unable to evaluate symlinks in Dockerfile path Docker 도큐먼트를 따라하다 보니 갑자기 에러가 난다. 분명 난 똑같이 붙여넣기 하고 그대로 한것 같은데.. https://docs.docker.com/get-started/part2/#build-the-app unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/ubuntu/study_docker/Dockerfile: no such file or directory 대체 왜나는 거지??? 분명 해석을 해보면 Dockerfile 이 저 위치에 없다는 이야기 인데...있는데 분명히.... 뭐~~~가 잘못된거지??? 헉!!! DockerFile........ 파일 이름이 Dockerfile 이 아닌 Doc.. 2018. 4. 1.
728x90
반응형