@@ -17,7 +17,7 @@ As a user it shouldn't matter to you.
17
17
You can list the applications in the registry by using:
18
18
19
19
``` bash
20
- $ kraft pkg ls --apps --all --update
20
+ kraft pkg ls --apps --all --update
21
21
```
22
22
```
23
23
TYPE NAME VERSION FORMAT MANIFEST INDEX PLAT
@@ -82,7 +82,7 @@ If you are running natively (for maximum performance), and if you likely have ha
82
82
Similarly, we can pull and run Nginx:
83
83
84
84
``` bash
85
- kraft run -W unikraft.org/nginx
85
+ kraft run -W unikraft.org/nginx:1.15
86
86
```
87
87
```
88
88
i using arch=x86_64 plat=qemu
@@ -99,7 +99,7 @@ Note that the Nginx server starts but waits for a connection.
99
99
In order to connect to it, we need to pass a port mapping, similar to [ ` docker ` commands] ( https://docs.docker.com/network/#published-ports ) :
100
100
101
101
``` bash
102
- kraft run -W -p 8080:80 unikraft.org/nginx
102
+ kraft run -W -p 8080:80 unikraft.org/nginx:1.15
103
103
```
104
104
```
105
105
i using arch=x86_64 plat=qemu
@@ -113,6 +113,12 @@ oOo oOO| | | | | (| | | (_) | _) :_
113
113
Telesto 0.16.1~b1fa7c5
114
114
```
115
115
116
+
117
+ <Info >
118
+ You can use nginx version 1.25 instead of version 1.15 by appending ` :1.25 ` to the ` kraft run ` command.
119
+ For example: ` kraft run -W unikraft.org/nginx:1.25 `
120
+ </Info >
121
+
116
122
With the command above we mapped the local port ` 8080 ` to the internal Nginx Unikraft port ` 80 ` :
117
123
Query the server to get the index page:
118
124
@@ -140,7 +146,7 @@ For an IP-based network connection, you can use a bridged interface.
140
146
First create a bridge interface, as ` root ` (prefix with ` sudo ` if required):
141
147
142
148
``` bash
143
- sudo kraft run --network bridge: virbr0 unikraft.org/nginx
149
+ sudo kraft run --network virbr0 unikraft.org/nginx:1.15
144
150
```
145
151
```
146
152
i using arch=x86_64 plat=qemu
@@ -247,7 +253,7 @@ If, instead of port mapping, you want to use bridge networking, follow the steps
247
253
1 . Run as ` root ` (prefix with ` sudo ` if required):
248
254
249
255
``` bash
250
- kraft run --network bridge: virbr0 .
256
+ kraft run --network virbr0 .
251
257
```
252
258
253
259
1 . Query the unikernel instance:
@@ -304,7 +310,7 @@ If, instead of port mapping, you want to use bridge networking, follow the steps
304
310
1 . Run as ` root ` (prefix with ` sudo ` if required):
305
311
306
312
``` bash
307
- sudo KRAFTKIT_BUILDKIT_HOST=docker-container://buildkitd kraft run --network bridge: virbr0 .
313
+ sudo KRAFTKIT_BUILDKIT_HOST=docker-container://buildkitd kraft run --network virbr0 .
308
314
```
309
315
310
316
1 . Query the unikernel instance:
0 commit comments