39
39
* [ Enable agent debug console] ( #enable-agent-debug-console )
40
40
* [ Start ` kata-monitor ` ] ( #start-kata-monitor )
41
41
* [ Connect to debug console] ( #connect-to-debug-console )
42
- * [ Traditional debug console setup] ( #traditional-simple- debug-console-setup )
42
+ * [ Traditional debug console setup] ( #traditional-debug-console-setup )
43
43
* [ Create a custom image containing a shell] ( #create-a-custom-image-containing-a-shell )
44
44
* [ Create a debug systemd service] ( #create-a-debug-systemd-service )
45
45
* [ Build the debug image] ( #build-the-debug-image )
46
46
* [ Configure runtime for custom debug image] ( #configure-runtime-for-custom-debug-image )
47
- * [ Ensure debug options are valid] ( #ensure-debug-options-are-valid )
48
47
* [ Create a container] ( #create-a-container )
49
48
* [ Connect to the virtual machine using the debug console] ( #connect-to-the-virtual-machine-using-the-debug-console )
50
- * [ Obtain details of the image] ( #obtain-details-of-the-image )
51
49
* [ Capturing kernel boot logs] ( #capturing-kernel-boot-logs )
52
50
53
51
# Warning
@@ -450,7 +448,7 @@ contain either `/bin/sh` or `/bin/bash`.
450
448
451
449
#### Enable agent debug console
452
450
453
- Enable debug_console_enabled in the configuration.toml configuration file:
451
+ Enable debug_console_enabled in the ` configuration.toml ` configuration file:
454
452
455
453
```
456
454
[agent.kata]
@@ -461,7 +459,7 @@ This will pass `agent.debug_console agent.debug_console_vport=1026` to agent as
461
459
462
460
#### Start ` kata-monitor `
463
461
464
- The ` kata-runtime exec ` command needs ` kata-monitor ` to get the sandbox's ` vsock ` address to connect to, firt start ` kata-monitor ` .
462
+ The ` kata-runtime exec ` command needs ` kata-monitor ` to get the sandbox's ` vsock ` address to connect to, first start ` kata-monitor ` .
465
463
466
464
```
467
465
$ sudo kata-monitor
@@ -503,7 +501,7 @@ the following steps (using rootfs or initrd image).
503
501
>
504
502
> Look for ` INIT_PROCESS=systemd ` in the ` config.sh ` osbuilder rootfs config file
505
503
> to verify an osbuilder distro supports systemd for the distro you want to build rootfs for.
506
- > For an example, see the [ Clear Linux config.sh file] ( ../tools/osbuilder/blob/master/ rootfs-builder/clearlinux/config.sh ) .
504
+ > For an example, see the [ Clear Linux config.sh file] ( ../tools/osbuilder/rootfs-builder/clearlinux/config.sh ) .
507
505
>
508
506
> For a non-systemd-based distro, create an equivalent system
509
507
> service using that distro’s init system syntax. Alternatively, you can build a distro
@@ -589,7 +587,7 @@ to avoid all subsequently created containers from using the debug image.
589
587
590
588
#### Create a container
591
589
592
- Create a container as normal. For example using crictl:
590
+ Create a container as normal. For example using ` crictl ` :
593
591
594
592
```
595
593
$ sudo crictl run -r kata container.yaml pod.yaml
0 commit comments