依照 Kubernetes 一節所述容器的入門指南說明文件來進行
Cloud Marketplace 上的每個容器產品都有一份入門指南。如要取得容器的入門指南說明文件,請在 Google Cloud 主控台選取要部署的容器,然後按一下頁面頂端附近的「Get Started with {product name}」按鈕。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# Deploying container images from Google Cloud Marketplace to Kubernetes or Docker\n\nThis page is a supplemental guide to the container readme for each\n[Google Cloud Marketplace container product](https://console.cloud.google.com/marketplace/browse?filter=solution-type:container).\nIt provides additional information for deploying a container to a\nbrand new Google Kubernetes Engine cluster or to a local Minikube cluster.\nIt also provides links for using Docker.\n| As of July 18, 2018, the container registry\n| `launcher.gcr.io` and its alias `l.gcr.io` are deprecated.\n| Docker images in `launcher.gcr.io` remain available, but are\n| no longer updated.\n|\n| If you are currently pulling images from `launcher.gcr.io`, you\n| must:\n|\n| - Change all your references to `marketplace.gcr.io`.\n| - Set up [authentication](/container-registry/docs/advanced-authentication) for Container Registry, using the following command: \n|\n| ```\n| gcloud auth configure-docker\n| \n| ```\n\nDeploy a container\n==================\n\nThe following sections describe how to deploy to Kubernetes and to Docker.\n\nDeploy to Kubernetes\n--------------------\n\nThere are two methods to deploy containers to Kubernetes. You can deploy to\nGoogle Kubernetes Engine, or locally to your machine using Minikube. Both methods are\ndescribed below.\n\n### Deploy to Google Kubernetes Engine\n\n1. **Install the required tools** \n\n Follow the steps in the\n [Quickstart for Google Kubernetes Engine](/kubernetes-engine/docs/deploy-app-cluster).\n These steps will help you setup your environment with `gcloud` and `kubectl`.\n\n2. **Verify that `kubectl` can connect to the clusters** \n\n After your environment is set up, verify `kubectl` can reach the clusters you\n created. You can run the following to see if your nodes are running:\n\n kubectl get nodes\n\n3. **Follow the getting started documentation for the container in the\n Kubernetes section** \n\n Each container product on Cloud Marketplace contains a getting\n started guide. You can access the container getting started document by\n selecting the container you want to deploy from\n [the Google Cloud console](https://console.cloud.google.com/marketplace/browse?filter=solution-type:container),\n and then clicking the **Get Started with {** *product name* **}** button near\n the top of the page.\n\n### Deploy to Minikube\n\n1. **Install the required tools** \n\n Follow the steps in the\n [Minikube Setup guide](https://kubernetes.io/docs/getting-started-guides/minikube/).\n These steps will help you setup a local Minikube environment. After\n **minikube start** in the linked instructions, you can then follow the\n instructions below.\n\n2. **Verify that `kubectl` can connect to the clusters** \n\n While Minikube is running (after running `minikube start`), you can use the\n following command to check if your nodes are running:\n\n kubectl get nodes\n\n3. **Follow the getting started documentation for the container in the Kubernetes section**\n\n Each container product on Cloud Marketplace contains a getting\n started guide. You can access the container getting started document by\n selecting the container you want to deploy from\n [the Google Cloud console](https://console.cloud.google.com/marketplace/browse?filter=solution-type:container),\n and then clicking the **Get Started with \\[product_name\\]** button\n near the top of the page.\n\nDeploy to Docker\n----------------\n\n1. **Install Docker**\n\n To deploy a container to Docker, first install Docker on your local machine\n or virtual machine. The Docker installation guide is available from the\n Docker [website](https://docs.docker.com/engine/installation/).\n2. **Follow the steps in the getting started guide**\n\n Each container product on Cloud Marketplace contains a getting\n started guide. You can access the container's getting started guide by\n selecting the container you want to deploy from\n [the Google Cloud console](https://console.cloud.google.com/marketplace/browse?filter=solution-type:container)\n and then clicking the **Get Started with \\[product_name\\]** button near\n the top of the page."]]