forked from google/android-cuttlefish
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update documentation for downloading docker image from AR
- Loading branch information
Showing
2 changed files
with
45 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Docker | ||
|
||
We provide docker images with installed cuttlefish debian packages inside; | ||
including `cuttlefish-base`, `cuttlefish-user`, and `cuttlefish-orchestration`. | ||
Currently it's available for x86_64 and ARM64 architectures. | ||
|
||
## Download docker image | ||
|
||
Currently docker image is available to download from Artifact Registry. | ||
Please run command below to download latest version of docker image. | ||
|
||
Also, please choose one location among `us`, `europe`, or `asia`. | ||
It's available to download artifacts from any location, but download latency is | ||
different based on your location. | ||
|
||
```bash | ||
DOWNLOAD_LOCATION=us # Choose one among us, europe, or asia. | ||
docker pull $DOWNLOAD_LOCATION-docker.pkg.dev/android-cuttlefish-artifacts/cuttlefish-orchestration/cuttlefish-orchestration | ||
``` | ||
|
||
## Use docker image with Cloud Orchestrator | ||
|
||
Please refer to | ||
[Cloud Orchestrator documentation for on-premise server](https://github.com/google/cloud-android-orchestration/blob/main/scripts/on-premises/single-server/README.md). | ||
|
||
## Build docker image manually | ||
|
||
Please run below command to build manually. | ||
|
||
```bash | ||
cd /path/to/android-cuttlefish | ||
cd docker | ||
./image-builder.sh -d | ||
``` | ||
|
||
You can validate if the docker image is successfully built by checking | ||
`cuttlefish-orchestration` in `docker image list` like below. | ||
``` | ||
$ docker image list | ||
REPOSITORY TAG IMAGE ID CREATED SIZE | ||
cuttlefish-orchestration latest 0123456789ab 2 minutes ago 690MB | ||
... | ||
``` |