[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-28 UTC."],[[["\u003cp\u003eThis documentation refers to Apigee hybrid version 1.7, which is no longer supported and should be upgraded.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eapigee-pull-push.sh\u003c/code\u003e is a utility used to pull project images from the Google Docker hub and push them to a specified repository.\u003c/p\u003e\n"],["\u003cp\u003eThe utility requires both \u003ccode\u003edocker\u003c/code\u003e and \u003ccode\u003egcloud\u003c/code\u003e to be installed, which can both be verified by using the \u003ccode\u003ewhich\u003c/code\u003e command in your shell.\u003c/p\u003e\n"],["\u003cp\u003eYou can check the current project using \u003ccode\u003egcloud config list core/project --format='value(core.project)'\u003c/code\u003e and then configure it with \u003ccode\u003egcloud config set project PROJECT_ID\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can push images to a specific repository using \u003ccode\u003eapigee-pull-push.sh REPO\u003c/code\u003e or to the default repository using \u003ccode\u003eapigee-pull-push.sh\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# apigee-pull-push\n\n| You are currently viewing version 1.7 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\n`apigee-pull-push.sh` is a utility that pulls all the images for your current project\nfrom the [Google Docker hub](https://hub.docker.com/u/google) and\npushes them to your specified repository.\n\nRequirements\n------------\n\n- `docker`: You can check if docker is installed in your shell with the following command: \n\n ```\n which docker\n ```\n\n\n To install `docker`, see\n [Install Docker Engine](https://docs.docker.com/engine/install/)\n- `gcloud`: You can check if gcloud is installed in your shell with the following command: \n\n ```\n which gcloud\n ```\n\n\n To install or upgrade `gcloud`, see [Installing Google\n Cloud SDK](/sdk/docs/install)\n\n`apigee-pull-push` Usage\n------------------------\n\n### *Optional:* Check the current project in your `gcloud` context\n\n\n`apigee-pull-push.sh` pulls the images for the current project in your\n`gcloud` context. Check the project with the following command: \n\n```\ngcloud config list core/project --format='value(core.project)'\n```\n\n\nYou can set the current project with the following command: \n\n```\ngcloud config set project PROJECT_ID\n```\n\n\nWhere \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e is the ID of the Google Cloud project for your Apigee installation.\n\n\nThis step is optional, because `apigee-pull-push.sh` will confirm the project and allow\nyou to proceed or abort.\n\n### Push the Apigee image to a repository you name\n\n```\napigee-pull-push.sh REPO\n```\n\n\nWhere \u003cvar translate=\"no\"\u003eREPO\u003c/var\u003e is the repository, for example `myrepo.docker.com`.\n\n### Push the Apigee image to the default repository\n\n```\napigee-pull-push.sh \n```\n\n\nThis pushes the image to `us.gcr.io/`\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e, for example\n`us.gcr.io/my-project`.\n\n### Get help for `apigee-pull-push.sh`\n\n```\napigee-pull-push.sh --help\n```"]]