mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-23 14:08:31 +00:00
docs: Improve snap formatting
Improve the snap docs by using more consistent formatting and proper shell code in the shell example. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
894f661cc4
commit
9b108d9937
@ -43,14 +43,14 @@ $ make -C tools/packaging snap
|
|||||||
> only run the snap build in a minimal host environment.
|
> only run the snap build in a minimal host environment.
|
||||||
|
|
||||||
To install the resulting snap image, snap must be put in [classic mode][3] and the
|
To install the resulting snap image, snap must be put in [classic mode][3] and the
|
||||||
security confinement must be disabled (*--classic*). Also since the resulting snap
|
security confinement must be disabled (`--classic`). Also since the resulting snap
|
||||||
has not been signed the verification of signature must be omitted (*--dangerous*).
|
has not been signed the verification of signature must be omitted (`--dangerous`).
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ sudo snap install --classic --dangerous kata-containers_[VERSION]_[ARCH].snap
|
$ sudo snap install --classic --dangerous "kata-containers_${version}_${arch}.snap"
|
||||||
```
|
```
|
||||||
|
|
||||||
Replace `VERSION` with the current version of Kata Containers and `ARCH` with
|
Replace `${version}` with the current version of Kata Containers and `${arch}` with
|
||||||
the system architecture.
|
the system architecture.
|
||||||
|
|
||||||
## Configure Kata Containers
|
## Configure Kata Containers
|
||||||
|
Loading…
Reference in New Issue
Block a user