Google Cloud Fundamentals : Premiers pas avec App Engine avis
194502 avis
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. · Examiné il y a plus de 4 ans
Toth C. · Examiné il y a plus de 4 ans
Tushar K. · Examiné il y a plus de 4 ans
Muhammad Y. · Examiné il y a plus de 4 ans
Baogang Y. · Examiné il y a plus de 4 ans
Vivek K. · Examiné il y a plus de 4 ans
Taskeen F. · Examiné il y a plus de 4 ans
Lais M. · Examiné il y a plus de 4 ans
few commands didn`t work as per expectation
pradeep y. · Examiné il y a plus de 4 ans
Joao M. · Examiné il y a plus de 4 ans
Gopika P. · Examiné il y a plus de 4 ans
Good
Alexandre d. · Examiné il y a plus de 4 ans
Farhan H. · Examiné il y a plus de 4 ans
Sivasankar B. · Examiné il y a plus de 4 ans
Bhanuprakash K. · Examiné il y a plus de 4 ans
Jamil M. · Examiné il y a plus de 4 ans
Kenneth P. · Examiné il y a plus de 4 ans
Ysabela R. · Examiné il y a plus de 4 ans
Amit5 K. · Examiné il y a plus de 4 ans
ERIK D. · Examiné il y a plus de 4 ans
Lucas M. · Examiné il y a plus de 4 ans
ERIK D. · Examiné il y a plus de 4 ans
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. · Examiné il y a plus de 4 ans
sridaran S. · Examiné il y a plus de 4 ans
unable le to complete it, need support.
Rajkumar V. · Examiné il y a plus de 4 ans
Nous ne pouvons pas certifier que les avis publiés proviennent de consommateurs qui ont acheté ou utilisé les produits. Les avis ne sont pas vérifiés par Google.