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

Added instructions for root Update using-the-app-catalog.mdx #456

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
6 changes: 6 additions & 0 deletions content/guides/using-the-app-catalog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

```bash
kraft pkg ls --apps --all --update
```

Check failure on line 21 in content/guides/using-the-app-catalog.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Fenced code blocks should be surrounded by blank lines [Context: "```"]
```

Check failure on line 22 in content/guides/using-the-app-catalog.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Fenced code blocks should be surrounded by blank lines [Context: "```"]

Check failure on line 22 in content/guides/using-the-app-catalog.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Fenced code blocks should have a language specified [Context: "```"]
TYPE NAME VERSION FORMAT MANIFEST INDEX PLAT
app unikraft.org/base latest oci 18cd70e af5c5ed qemu/x86_64
app unikraft.org/base latest oci ac5efa1 af5c5ed fc/x86_64
Expand Down Expand Up @@ -57,7 +57,7 @@
This will default to the `x86_64` architecture and to the `qemu` platform.
It will pull and run run the application from the registry:

```

Check failure on line 60 in content/guides/using-the-app-catalog.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Fenced code blocks should have a language specified [Context: "```"]
i using arch=x86_64 plat=qemu
[+] pulling unikraft.org/helloworld
o. .o _ _ __ _
Expand All @@ -83,8 +83,8 @@

```bash
kraft run -W unikraft.org/nginx:1.15
```

Check failure on line 86 in content/guides/using-the-app-catalog.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Fenced code blocks should be surrounded by blank lines [Context: "```"]
```

Check failure on line 87 in content/guides/using-the-app-catalog.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Fenced code blocks should be surrounded by blank lines [Context: "```"]

Check failure on line 87 in content/guides/using-the-app-catalog.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Fenced code blocks should have a language specified [Context: "```"]
i using arch=x86_64 plat=qemu
[+] pulling unikraft.org/nginx
o. .o _ _ __ _
Expand All @@ -100,8 +100,8 @@

```bash
kraft run -W -p 8080:80 unikraft.org/nginx:1.15
```

Check failure on line 103 in content/guides/using-the-app-catalog.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Fenced code blocks should be surrounded by blank lines [Context: "```"]
```

Check failure on line 104 in content/guides/using-the-app-catalog.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Fenced code blocks should be surrounded by blank lines [Context: "```"]

Check failure on line 104 in content/guides/using-the-app-catalog.mdx

View workflow job for this annotation

GitHub Actions / Markdown Linter

Fenced code blocks should have a language specified [Context: "```"]
i using arch=x86_64 plat=qemu
[+] pulling unikraft.org/nginx
Powered by
Expand Down Expand Up @@ -248,12 +248,18 @@

```bash
kraft net create -n 172.44.0.1/24 virbr0
or
sudo kraft net create -n 172.44.0.1/24 virbr0

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change

Remove the empty line

```

1. Run as `root` (prefix with `sudo` if required):

```bash
kraft run --network virbr0 .
or
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
or
or

sudo kraft run --network virbr0 .

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change

```

1. Query the unikernel instance:
Expand Down
Loading