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

docs: add content for remote registry #252

Closed
wants to merge 6 commits into from

Conversation

deepeshaburse
Copy link
Contributor

This PR adds content for remote registries in the quick start guide.

docs/quickstart.mdx Outdated Show resolved Hide resolved
@deepeshaburse deepeshaburse marked this pull request as draft August 24, 2023 17:53
Deepesha Burse added 2 commits August 30, 2023 18:05
Signed-off-by: Deepesha Burse <deepeshaburse@Deepeshas-MacBook-Air.local>
Signed-off-by: Deepesha Burse <deepeshaburse@Deepeshas-MacBook-Air.local>
@deepeshaburse deepeshaburse marked this pull request as ready for review August 30, 2023 18:30
@deepeshaburse
Copy link
Contributor Author

@TerryHowe the content has been shifted to a how-to guide and linked in the quick start.

docs/how_to_guides/distributing_to_remote_registries.mdx Outdated Show resolved Hide resolved
docs/quickstart.mdx Outdated Show resolved Hide resolved
docs/quickstart.mdx Outdated Show resolved Hide resolved
deepeshaburse and others added 3 commits September 13, 2023 01:03
Co-authored-by: Terry Howe <terrylhowe@gmail.com>
Signed-off-by: Deepesha Burse <87636253+deepeshaburse@users.noreply.github.com>
Co-authored-by: Terry Howe <terrylhowe@gmail.com>
Signed-off-by: Deepesha Burse <87636253+deepeshaburse@users.noreply.github.com>
Co-authored-by: Terry Howe <terrylhowe@gmail.com>
Signed-off-by: Deepesha Burse <87636253+deepeshaburse@users.noreply.github.com>
### Step 3.3: View referrers
### Step 3: View referrers

We can use [`oras discover`](./commands/oras_discover.mdx) to view the referrers.

```
oras discover localhost:5000/hello-artifact:v1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you try oras discover localhost:5000/hello-artifact:v1 -o tree and copy the result into the result below? It will show the referrer's tree view.

Digest: sha256:da9ed51a16f156b12c108f0fbc14f2e9e2f02b4f77434a1a44593d0da071c809
```

## View referrers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docker Hub doesn't support attaching referrers at this moment. So you will not be able to use oras attach to attach an artifact to the image in Docker Hub. So there is no meaning to view referrers here as you can find the result Discovered 0 artifact referencing v1 below.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My suggestion is to use ghcr.io (GitHub Container Registry) to replace Docker Hub in this doc.

Copy link
Member

@FeynmanZhou FeynmanZhou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PTAL

Co-authored-by: Feynman Zhou <feynmanzhou@microsoft.com>
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants