Google Cloud の基礎: 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)$
G Mike · 4年以上前にレビュー済み
Csaba Toth · 4年以上前にレビュー済み
Kulkarni Tushar · 4年以上前にレビュー済み
Yufa Arrahman Muhammad · 4年以上前にレビュー済み
Yu Baogang · 4年以上前にレビュー済み
Kumar Vimal Vivek · 4年以上前にレビュー済み
Fatima Taskeen · 4年以上前にレビュー済み
Machado De Oliveira Lais · 4年以上前にレビュー済み
few commands didn`t work as per expectation
yamana pradeep · 4年以上前にレビュー済み
Mendes Alexandre Joao · 4年以上前にレビュー済み
Priya Gopika · 4年以上前にレビュー済み
Good
da Silva Camillo Alexandre · 4年以上前にレビュー済み
Hikmatullah Daulay Farhan · 4年以上前にレビュー済み
Balasubramanian Sivasankar · 4年以上前にレビュー済み
Koppoku Bhanuprakash · 4年以上前にレビュー済み
MISSEN Jamil · 4年以上前にレビュー済み
Padro Kenneth · 4年以上前にレビュー済み
Rodrigues Ysabela · 4年以上前にレビュー済み
KUMAR Amit5 · 4年以上前にレビュー済み
DARIO HERNANDEZ VASQUEZ ERIK · 4年以上前にレビュー済み
Mello Lucas · 4年以上前にレビュー済み
DARIO HERNANDEZ VASQUEZ ERIK · 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.
Whelan Brian · 4年以上前にレビュー済み
Signin sridaran · 4年以上前にレビュー済み
unable le to complete it, need support.
V Rajkumar · 4年以上前にレビュー済み
公開されたレビューが、製品を購入または使用した人によるものであることは保証されません。Google はこれらのレビューの検証を行っていません。