зеркало из https://github.com/microsoft/docker.git
Merge pull request #19433 from HackToday/fixclidoc
Fix the privileged example
This commit is contained in:
Коммит
0f04f3ba9f
|
@ -145,7 +145,7 @@ This will *not* work, because by default, most potentially dangerous kernel
|
|||
capabilities are dropped; including `cap_sys_admin` (which is required to mount
|
||||
filesystems). However, the `--privileged` flag will allow it to run:
|
||||
|
||||
$ docker run --privileged ubuntu bash
|
||||
$ docker run -t -i --privileged ubuntu bash
|
||||
root@50e3f57e16e6:/# mount -t tmpfs none /mnt
|
||||
root@50e3f57e16e6:/# df -h
|
||||
Filesystem Size Used Avail Use% Mounted on
|
||||
|
|
Загрузка…
Ссылка в новой задаче