Skip to content

Commit fe4e9b2

Browse files
committed
[skip ci] docs: explain why root privileges are required
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
1 parent b7e95d7 commit fe4e9b2

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ Obviously, **Distroless** images are not supported.
6666
- [QEMU](https://www.qemu.org/download/#linux) (optional)
6767
- [VirtualBox](https://www.virtualbox.org/wiki/Linux_Downloads) (optional)
6868

69+
#### sudo or root privileges
70+
71+
*sudo* or root privileges are required for `d2vm` to performs operations that require root-level permissions, in particular:
72+
73+
- mounting disk images and loopback devices requires [elevated privileges](https://linux.die.net/man/2/mount)
74+
- invoke `docker` commands, which require root-level permissions by default
75+
76+
6977
## Getting started
7078

7179
### Install
@@ -249,7 +257,7 @@ Welcome to Ubuntu 20.04.4 LTS!
249257
250258
Ubuntu 20.04.4 LTS localhost ttyS0
251259
252-
localhost login:
260+
localhost login:
253261
```
254262

255263
Log in using the *root* user and the password configured at build time.
@@ -354,7 +362,7 @@ sudo d2vm build -p MyP4Ssw0rd -f ubuntu.Dockerfile -o ubuntu.vdi .
354362

355363
### KubeVirt Container Disk Images
356364

357-
Using the `--tag` flag with the `build` and `convert` commands, you can create a
365+
Using the `--tag` flag with the `build` and `convert` commands, you can create a
358366
[Container Disk Image](https://kubevirt.io/user-guide/virtual_machines/disks_and_volumes/#containerdisk) for [KubeVirt](https://kubevirt.io/).
359367

360368
The `--push` flag will push the image to the registry.

0 commit comments

Comments
 (0)