Відгуки: Google Cloud Fundamentals: Getting Started with App Engine
194502 відгуки
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. · Відгук надано більше 4 років тому
Toth C. · Відгук надано більше 4 років тому
Tushar K. · Відгук надано більше 4 років тому
Muhammad Y. · Відгук надано більше 4 років тому
Baogang Y. · Відгук надано більше 4 років тому
Vivek K. · Відгук надано більше 4 років тому
Taskeen F. · Відгук надано більше 4 років тому
Lais M. · Відгук надано більше 4 років тому
few commands didn`t work as per expectation
pradeep y. · Відгук надано більше 4 років тому
Joao M. · Відгук надано більше 4 років тому
Gopika P. · Відгук надано більше 4 років тому
Good
Alexandre d. · Відгук надано більше 4 років тому
Farhan H. · Відгук надано більше 4 років тому
Sivasankar B. · Відгук надано більше 4 років тому
Bhanuprakash K. · Відгук надано більше 4 років тому
Jamil M. · Відгук надано більше 4 років тому
Kenneth P. · Відгук надано більше 4 років тому
Ysabela R. · Відгук надано більше 4 років тому
Amit5 K. · Відгук надано більше 4 років тому
ERIK D. · Відгук надано більше 4 років тому
Lucas M. · Відгук надано більше 4 років тому
ERIK D. · Відгук надано більше 4 років тому
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. · Відгук надано більше 4 років тому
sridaran S. · Відгук надано більше 4 років тому
unable le to complete it, need support.
Rajkumar V. · Відгук надано більше 4 років тому
Ми не гарантуємо, що опубліковані відгуки написали клієнти, які придбали продукти чи скористалися ними. Відгуки не перевіряються Google.