mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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>
This commit is contained in:
parent
1ef10c83c7
commit
71f1205269
1 changed files with 13 additions and 13 deletions
|
@ -345,13 +345,13 @@ Supported networks :
|
||||||
<td class="no-wrap"><strong>container</strong>:<name|id></td>
|
<td class="no-wrap"><strong>container</strong>:<name|id></td>
|
||||||
<td>
|
<td>
|
||||||
Use the network stack of another container, specified via
|
Use the network stack of another container, specified via
|
||||||
its *name* or *id*.
|
its <i>name</i> or <i>id</i>.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="no-wrap"><strong>NETWORK</strong></td>
|
<td class="no-wrap"><strong>NETWORK</strong></td>
|
||||||
<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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -624,15 +624,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.
|
with the same logic -- if the original volume was specified with a name it will **not** be removed.
|
||||||
|
|
||||||
## Security configuration
|
## Security configuration
|
||||||
--security-opt="label=user:USER" : Set the label user for the container
|
--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=role:ROLE" : Set the label role for the container
|
||||||
--security-opt="label=type:TYPE" : Set the label type 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=level:LEVEL" : Set the label level for the container
|
||||||
--security-opt="label=disable" : Turn off label confinement 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="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="no-new-privileges" : Disable container processes from gaining new privileges
|
||||||
--security-opt="seccomp=unconfined": Turn off seccomp confinement for the container
|
--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="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
|
You can override the default labeling scheme for each container by specifying
|
||||||
|
@ -737,7 +737,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 class="no-wrap"><strong>memory=L<inf, memory-swap=2*L</strong></td>
|
||||||
<td>
|
<td>
|
||||||
(specify memory without memory-swap) The container is not allowed to
|
(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.
|
of that.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -747,7 +747,7 @@ We have four ways to set user memory usage:
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
(specify both memory and memory-swap) The container is not allowed to
|
(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.
|
by S.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue