Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding docs/templates/learn #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions Docs/Learn/V2/Lux-images-locally.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

To pull Lux images locally using the service_account credentials provided

## 1. Authenticate with the Docker Registry:

First, authenticate your local Docker CLI with the Google Container Registry (GCR) using the service account JSON key.

```sh
cat service_account.json | docker login -u _json_key --password-stdin https://gcr.io
```

- `cat service_account.json`: Reads the content of the service account JSON key file.
- `docker login -u _json_key --password-stdin https://gcr.io`: Logs into GCR using the JSON key as the password.

## 2. Pull the Docker Images:
After logging in, you can pull any Docker image from the Google Container Registry. Replace <image-name> and <tag>with the appropriate values.

```sh
docker pull gcr.io/<project-id>/<image-name>:<tag>

```

Example:

```sh
docker pull gcr.io/hasura-ee/lux-api:2.0.10
```

Empty file added Docs/Learn/V2/Readme.md
Empty file.
Empty file added Docs/Learn/V3/Readme.md
Empty file.