Fix some format errors
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
update
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
(cherry picked from commit 71f1205269
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
1f6bda6d20
commit
63b4965387
1 changed files with 13 additions and 13 deletions
|
@ -337,13 +337,13 @@ Supported networks :
|
|||
<td class="no-wrap"><strong>container</strong>:<name|id></td>
|
||||
<td>
|
||||
Use the network stack of another container, specified via
|
||||
its *name* or *id*.
|
||||
its <i>name</i> or <i>id</i>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="no-wrap"><strong>NETWORK</strong></td>
|
||||
<td>
|
||||
Connects the container to a user created network (using `docker network create` command)
|
||||
Connects the container to a user created network (using <code>docker network create</code> command)
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -616,15 +616,15 @@ but the volume for `/bar` will not. Volumes inherited via `--volumes-from` will
|
|||
with the same logic -- if the original volume was specified with a name it will **not** be removed.
|
||||
|
||||
## Security configuration
|
||||
--security-opt="label=user:USER" : Set the label user for the container
|
||||
--security-opt="label=role:ROLE" : Set the label role for the container
|
||||
--security-opt="label=type:TYPE" : Set the label type for the container
|
||||
--security-opt="label=level:LEVEL" : Set the label level for the container
|
||||
--security-opt="label=disable" : Turn off label confinement for the container
|
||||
--security-opt="apparmor=PROFILE" : Set the apparmor profile to be applied to the container
|
||||
--security-opt="no-new-privileges" : Disable container processes from gaining new privileges
|
||||
--security-opt="seccomp=unconfined": Turn off seccomp confinement for the container
|
||||
--security-opt="seccomp=profile.json: White listed syscalls seccomp Json file to be used as a seccomp filter
|
||||
--security-opt="label=user:USER" : Set the label user for the container
|
||||
--security-opt="label=role:ROLE" : Set the label role for the container
|
||||
--security-opt="label=type:TYPE" : Set the label type for the container
|
||||
--security-opt="label=level:LEVEL" : Set the label level for the container
|
||||
--security-opt="label=disable" : Turn off label confinement for the container
|
||||
--security-opt="apparmor=PROFILE" : Set the apparmor profile to be applied to the container
|
||||
--security-opt="no-new-privileges" : Disable container processes from gaining new privileges
|
||||
--security-opt="seccomp=unconfined" : Turn off seccomp confinement for the container
|
||||
--security-opt="seccomp=profile.json": White listed syscalls seccomp Json file to be used as a seccomp filter
|
||||
|
||||
|
||||
You can override the default labeling scheme for each container by specifying
|
||||
|
@ -726,7 +726,7 @@ We have four ways to set user memory usage:
|
|||
<td class="no-wrap"><strong>memory=L<inf, memory-swap=2*L</strong></td>
|
||||
<td>
|
||||
(specify memory without memory-swap) The container is not allowed to
|
||||
use more than L bytes of memory, swap *plus* memory usage is double
|
||||
use more than L bytes of memory, swap <i>plus</i> memory usage is double
|
||||
of that.
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -736,7 +736,7 @@ We have four ways to set user memory usage:
|
|||
</td>
|
||||
<td>
|
||||
(specify both memory and memory-swap) The container is not allowed to
|
||||
use more than L bytes of memory, swap *plus* memory usage is limited
|
||||
use more than L bytes of memory, swap <i>plus</i> memory usage is limited
|
||||
by S.
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue