> [!CAUTION]
> 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](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions).

<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">Version 1.7 (unsupported)</button>

- Supported versions:
- [v1.17 (latest)](https://docs.cloud.google.com/apigee/docs/hybrid/v1.17/apigee-pull-push.md.txt)
- [v1.16](https://docs.cloud.google.com/apigee/docs/hybrid/v1.16/apigee-pull-push.md.txt)
- [v1.15](https://docs.cloud.google.com/apigee/docs/hybrid/v1.15/apigee-pull-push.md.txt)
- [v1.14](https://docs.cloud.google.com/apigee/docs/hybrid/v1.14/apigee-pull-push.md.txt)
- [List of supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions)
- Unsupported versions:
- [v1.13](https://docs.cloud.google.com/apigee/docs/hybrid/v1.13/apigee-pull-push.md.txt)
- [v1.12](https://docs.cloud.google.com/apigee/docs/hybrid/v1.12/apigee-pull-push.md.txt)
- [v1.11](https://docs.cloud.google.com/apigee/docs/hybrid/v1.11/apigee-pull-push.md.txt)
- [v1.10](https://docs.cloud.google.com/apigee/docs/hybrid/v1.10/apigee-pull-push.md.txt)
- [v1.9](https://docs.cloud.google.com/apigee/docs/hybrid/v1.9/apigee-pull-push.md.txt)
- [v1.8](https://docs.cloud.google.com/apigee/docs/hybrid/v1.8/apigee-pull-push.md.txt)
- [v1.7](https://docs.cloud.google.com/apigee/docs/hybrid/v1.7/apigee-pull-push.md.txt)
- [v1.6](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/apigee-pull-push.md.txt)
- [v1.5](https://docs.cloud.google.com/apigee/docs/hybrid/v1.5/apigee-pull-push.md.txt)
- [v1.4](https://docs.cloud.google.com/apigee/docs/hybrid/v1.4/apigee-pull-push.html)
- [v1.3](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/apigee-pull-push.html)
- [v1.2](https://docs.cloud.google.com/apigee/docs/hybrid/v1.2/apigee-pull-push.html)
- [v1.1](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/apigee-pull-push.html)

`apigee-pull-push.sh` is a utility that pulls all the images for your current project
from the [Google Docker hub](https://hub.docker.com/u/google) and
pushes them to your specified repository.

## Requirements

- `docker`: You can check if docker is installed in your shell with the following command:

  ```
  which docker
  ```


  To install `docker`, see
  [Install Docker Engine](https://docs.docker.com/engine/install/)
- `gcloud`: You can check if gcloud is installed in your shell with the following command:

  ```
  which gcloud
  ```


  To install or upgrade `gcloud`, see [Installing Google
  Cloud SDK](https://docs.cloud.google.com/sdk/docs/install)

## `apigee-pull-push` Usage

### *Optional:* Check the current project in your `gcloud` context


`apigee-pull-push.sh` pulls the images for the current project in your
`gcloud` context. Check the project with the following command:

```
gcloud config list core/project --format='value(core.project)'
```


You can set the current project with the following command:

```
gcloud config set project PROJECT_ID
```


Where <var translate="no">PROJECT_ID</var> is the ID of the Google Cloud project for your Apigee installation.


This step is optional, because `apigee-pull-push.sh` will confirm the project and allow
you to proceed or abort.

### Push the Apigee image to a repository you name

```
apigee-pull-push.sh REPO
```


Where <var translate="no">REPO</var> is the repository, for example `myrepo.docker.com`.

### Push the Apigee image to the default repository

```
apigee-pull-push.sh 
```


This pushes the image to `us.gcr.io/PROJECT_ID`, for example
`us.gcr.io/my-project`.

### Get help for `apigee-pull-push.sh`

```
apigee-pull-push.sh --help
```