Google Cloud Fundamentals: Primeiros passos no App Engine avaliações

194502 avaliações

Missing components in the docker Welcome to Cloud Shell! Type "help" to get started. Your Cloud Platform project in this session is set to qwiklabs-gcp-00-1e43f97b2b39. Use “gcloud config set project [PROJECT_ID]” to change to a different project. student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ gcloud auth list Credentialed Accounts ACTIVE: * ACCOUNT: student-04-cc5c1d912aba@qwiklabs.net To set the active account, run: $ gcloud config set account `ACCOUNT` student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ gcloud config list project [core] project = qwiklabs-gcp-00-1e43f97b2b39 Your active configuration is: [cloudshell-22989] student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ gcloud app create --project=$DEVSHELL_PROJECT_ID You are creating an app for project [qwiklabs-gcp-00-1e43f97b2b39]. WARNING: Creating an App Engine application for a project is irreversible and the region cannot be changed. More information about regions is at <https://cloud.google.com/appengine/docs/locations>. Please choose the region where you want your App Engine application located: [1] asia-east1 (supports standard and flexible) [2] asia-east2 (supports standard and flexible and search_api) [3] asia-northeast1 (supports standard and flexible and search_api) [4] asia-northeast2 (supports standard and flexible and search_api) [5] asia-northeast3 (supports standard and flexible and search_api) [6] asia-south1 (supports standard and flexible and search_api) [7] asia-southeast1 (supports standard and flexible) [8] asia-southeast2 (supports standard and flexible and search_api) [9] australia-southeast1 (supports standard and flexible and search_api) [10] europe-central2 (supports standard and flexible) [11] europe-west (supports standard and flexible and search_api) [12] europe-west2 (supports standard and flexible and search_api) [13] europe-west3 (supports standard and flexible and search_api) [14] europe-west6 (supports standard and flexible and search_api) [15] northamerica-northeast1 (supports standard and flexible and search_api) [16] southamerica-east1 (supports standard and flexible and search_api) [17] us-central (supports standard and flexible and search_api) [18] us-east1 (supports standard and flexible and search_api) [19] us-east4 (supports standard and flexible and search_api) [20] us-west1 (supports standard and flexible) [21] us-west2 (supports standard and flexible and search_api) [22] us-west3 (supports standard and flexible and search_api) [23] us-west4 (supports standard and flexible and search_api) [24] cancel Please enter your numeric choice: 17 Creating App Engine application in project [qwiklabs-gcp-00-1e43f97b2b39] and region [us-central]....done. Success! The app is now created. Please use `gcloud app deploy` to deploy your first app. student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ git clone https://github.com/GoogleCloudPlatform/python-docs-samples Cloning into 'python-docs-samples'... remote: Enumerating objects: 63861, done. remote: Counting objects: 100% (15/15), done. remote: Compressing objects: 100% (15/15), done. remote: Total 63861 (delta 2), reused 13 (delta 0), pack-reused 63846 Receiving objects: 100% (63861/63861), 73.97 MiB | 25.31 MiB/s, done. Resolving deltas: 100% (36849/36849), done. student_04_cc5c1d912aba@cloudshell:~ (qwiklabs-gcp-00-1e43f97b2b39)$ cd python-docs-samples/appengine/standard_python3/hello_world student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ FROM python:3.7 WORKDIR /app COPY . . RUN pip install gunicorn RUN pip install -r requirements.txt ENV PORT=8080 CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 main:app -bash: FROM: command not found -bash: WORKDIR: command not found -bash: COPY: command not found -bash: RUN: command not found -bash: RUN: command not found -bash: ENV: command not found -bash: CMD: command not found student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ docker build -t test-python . unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/student_04_cc5c1d912aba/python-docs-samples/appengine/standard_python3/hello_world/Dockerfile: no such file or directory student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ cd python-docs-samples/appengine/standard_python3/hello_world -bash: cd: python-docs-samples/appengine/standard_python3/hello_world: No such file or directory student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ FROM python:3.7 WORKDIR /app COPY . . RUN pip install gunicorn RUN pip install -r requirements.txt ENV PORT=8080 CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 main:app -bash: FROM: command not found -bash: WORKDIR: command not found -bash: COPY: command not found -bash: RUN: command not found -bash: RUN: command not found -bash: ENV: command not found -bash: CMD: command not found student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ docker build -t test-python . unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/student_04_cc5c1d912aba/python-docs-samples/appengine/standard_python3/hello_world/Dockerfile: no such file or directory student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ docker run --rm -p 8080:8080 test-python Unable to find image 'test-python:latest' locally docker: Error response from daemon: pull access denied for test-python, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'. student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$ ^C student_04_cc5c1d912aba@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-1e43f97b2b39)$

Mike G. · Revisado há over 4 years

Toth C. · Revisado há over 4 years

Tushar K. · Revisado há over 4 years

Muhammad Y. · Revisado há over 4 years

Baogang Y. · Revisado há over 4 years

Vivek K. · Revisado há over 4 years

Taskeen F. · Revisado há over 4 years

Lais M. · Revisado há over 4 years

few commands didn`t work as per expectation

pradeep y. · Revisado há over 4 years

Joao M. · Revisado há over 4 years

Gopika P. · Revisado há over 4 years

Good

Alexandre d. · Revisado há over 4 years

Farhan H. · Revisado há over 4 years

Sivasankar B. · Revisado há over 4 years

Bhanuprakash K. · Revisado há over 4 years

Jamil M. · Revisado há over 4 years

Kenneth P. · Revisado há over 4 years

Ysabela R. · Revisado há over 4 years

Amit5 K. · Revisado há over 4 years

ERIK D. · Revisado há over 4 years

Lucas M. · Revisado há over 4 years

ERIK D. · Revisado há over 4 years

Pretty cool, though I would like a bit more text about the delta of running docker image vs. App engine. Also I noticed after deploying in app engine I still did not see my new app deployed.

Brian W. · Revisado há over 4 years

sridaran S. · Revisado há over 4 years

unable le to complete it, need support.

Rajkumar V. · Revisado há over 4 years

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.