Skip to content

Commit 204e99f

Browse files
committed
Fix footnote formatting
1 parent 9233e97 commit 204e99f

File tree

1 file changed

+47
-51
lines changed

1 file changed

+47
-51
lines changed

README.md

Lines changed: 47 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -259,59 +259,55 @@ This table provides a high-level comparison of RunCVM and Kata across various fe
259259
| **virtiofsd** | Runs `virtiofsd` in container namespace | Unknown |
260260

261261
[^1]: `docker network create --scope=local testnet >/dev/null && docker run --name=test --rm --runtime=kata --network=testnet --entrypoint=/bin/ash alpine -c 'for n in test google.com 8.8.8.8; do echo "ping $n ..."; ping -q -c 8 -i 0.5 $n; done'; docker network rm testnet >/dev/null` succeeds on `runc` and `runcvm` but at time of writing (2023-12-31) the DNS lookups needed fail on `kata`.
262-
263-
```
264-
$ docker network create --scope=local testnet >/dev/null && docker run --name=test --rm -it --runtime=kata --network=testnet --entrypoint=/bin/ash alpine -c 'for n in test google.com 8.8.8.8; do echo "ping $n ..."; ping -q -c 8 -i 0.5 $n; done'; docker network rm testnet >/dev/null
265-
ping test ...
266-
ping: bad address 'test'
267-
ping google.com ...
268-
ping: bad address 'google.com'
269-
ping 8.8.8.8 ...
270-
PING 8.8.8.8 (8.8.8.8): 56 data bytes
271-
272-
--- 8.8.8.8 ping statistics ---
273-
8 packets transmitted, 8 packets received, 0% packet loss
274-
round-trip min/avg/max = 0.911/1.716/3.123 ms
275-
```
276-
277-
```
278-
$ docker network create --scope=local testnet >/dev/null && docker run --name=test --rm -it --runtime=runcvm --network=testnet --entrypoint=/bin/ash alpine -c 'for n in test google.com 8.8.8.8; do echo "ping $n ..."; ping -q -c 8 -i 0.5 $n; done'; docker network rm testnet >/dev/null
279-
ping test ...
280-
PING test (172.25.8.2): 56 data bytes
281-
282-
--- test ping statistics ---
283-
8 packets transmitted, 8 packets received, 0% packet loss
284-
round-trip min/avg/max = 0.033/0.085/0.137 ms
285-
ping google.com ...
286-
PING google.com (172.217.16.238): 56 data bytes
287-
288-
--- google.com ping statistics ---
289-
8 packets transmitted, 8 packets received, 0% packet loss
290-
round-trip min/avg/max = 8.221/8.398/9.017 ms
291-
ping 8.8.8.8 ...
292-
PING 8.8.8.8 (8.8.8.8): 56 data bytes
293-
294-
--- 8.8.8.8 ping statistics ---
295-
8 packets transmitted, 8 packets received, 0% packet loss
296-
round-trip min/avg/max = 1.074/1.491/1.801 ms
297-
```
262+
```
263+
$ docker network create --scope=local testnet >/dev/null && docker run --name=test --rm -it --runtime=kata --network=testnet --entrypoint=/bin/ash alpine -c 'for n in test google.com 8.8.8.8; do echo "ping $n ..."; ping -q -c 8 -i 0.5 $n; done'; docker network rm testnet >/dev/null
264+
ping test ...
265+
ping: bad address 'test'
266+
ping google.com ...
267+
ping: bad address 'google.com'
268+
ping 8.8.8.8 ...
269+
PING 8.8.8.8 (8.8.8.8): 56 data bytes
270+
271+
--- 8.8.8.8 ping statistics ---
272+
8 packets transmitted, 8 packets received, 0% packet loss
273+
round-trip min/avg/max = 0.911/1.716/3.123 ms
274+
275+
$ docker network create --scope=local testnet >/dev/null && docker run --name=test --rm -it --runtime=runcvm --network=testnet --entrypoint=/bin/ash alpine -c 'for n in test google.com 8.8.8.8; do echo "ping $n ..."; ping -q -c 8 -i 0.5 $n; done'; docker network rm testnet >/dev/null
276+
ping test ...
277+
PING test (172.25.8.2): 56 data bytes
278+
279+
--- test ping statistics ---
280+
8 packets transmitted, 8 packets received, 0% packet loss
281+
round-trip min/avg/max = 0.033/0.085/0.137 ms
282+
ping google.com ...
283+
PING google.com (172.217.16.238): 56 data bytes
284+
285+
--- google.com ping statistics ---
286+
8 packets transmitted, 8 packets received, 0% packet loss
287+
round-trip min/avg/max = 8.221/8.398/9.017 ms
288+
ping 8.8.8.8 ...
289+
PING 8.8.8.8 (8.8.8.8): 56 data bytes
290+
291+
--- 8.8.8.8 ping statistics ---
292+
8 packets transmitted, 8 packets received, 0% packet loss
293+
round-trip min/avg/max = 1.074/1.491/1.801 ms
294+
```
298295
299296
[^2]: `docker run --rm -it --runtime=kata --entrypoint=/bin/ash -m 500m alpine -c 'free -h; df -h /dev/shm'`
300-
301-
```
302-
$ docker run --rm --runtime=kata --name=test -m 2g --env=RUNCVM_KERNEL_DEBUG=1 -it alpine ash -c 'free -h'
303-
total used free shared buff/cache available
304-
Mem: 3.9G 94.4M 3.8G 0 3.7M 3.8G
305-
Swap: 0 0 0
306-
$ docker run --rm --runtime=kata --name=test -m 3g --env=RUNCVM_KERNEL_DEBUG=1 -it alpine ash -c 'free -h'
307-
total used free shared buff/cache available
308-
Mem: 4.9G 107.0M 4.8G 0 3.9M 4.8G
309-
Swap: 0 0 0
310-
$ docker run --rm --runtime=kata --name=test -m 0g --env=RUNCVM_KERNEL_DEBUG=1 -it alpine ash -c 'free -h'
311-
total used free shared buff/cache available
312-
Mem: 1.9G 58.8M 1.9G 0 3.4M 1.9G
313-
Swap: 0 0 0
314-
```
297+
```
298+
$ docker run --rm --runtime=kata --name=test -m 2g --env=RUNCVM_KERNEL_DEBUG=1 -it alpine ash -c 'free -h'
299+
total used free shared buff/cache available
300+
Mem: 3.9G 94.4M 3.8G 0 3.7M 3.8G
301+
Swap: 0 0 0
302+
$ docker run --rm --runtime=kata --name=test -m 3g --env=RUNCVM_KERNEL_DEBUG=1 -it alpine ash -c 'free -h'
303+
total used free shared buff/cache available
304+
Mem: 4.9G 107.0M 4.8G 0 3.9M 4.8G
305+
Swap: 0 0 0
306+
$ docker run --rm --runtime=kata --name=test -m 0g --env=RUNCVM_KERNEL_DEBUG=1 -it alpine ash -c 'free -h'
307+
total used free shared buff/cache available
308+
Mem: 1.9G 58.8M 1.9G 0 3.4M 1.9G
309+
Swap: 0 0 0
310+
```
315311
316312
## Kernel auto-detection
317313

0 commit comments

Comments
 (0)