mirror of
https://github.com/docker/cli.git
synced 2025-08-08 12:02:07 +03:00
@@ -802,7 +802,7 @@ cgroup.
|
||||
|
||||
Assuming the daemon is running in cgroup `daemoncgroup`,
|
||||
`--cgroup-parent=/foobar` creates a cgroup in
|
||||
`/sys/fs/cgroup/memory/foobar`, wheras using `--cgroup-parent=foobar`
|
||||
`/sys/fs/cgroup/memory/foobar`, whereas using `--cgroup-parent=foobar`
|
||||
creates the cgroup in `/sys/fs/cgroup/memory/daemoncgroup/foobar`
|
||||
|
||||
This setting can also be set per container, using the `--cgroup-parent`
|
||||
|
@@ -40,7 +40,7 @@ You can specify the IP address you want to be assigned to the container's interf
|
||||
$ docker network connect --ip 10.10.36.122 multi-host-network container2
|
||||
```
|
||||
|
||||
You can use `--link` option to link another container with a prefered alias
|
||||
You can use `--link` option to link another container with a preferred alias
|
||||
|
||||
```bash
|
||||
$ docker network connect --link container1:c1 multi-host-network container2
|
||||
|
@@ -110,7 +110,7 @@ For information on connecting a container to a network, see the ["*Docker networ
|
||||
|
||||
## Examples
|
||||
|
||||
### Assign name and allocate psuedo-TTY (--name, -it)
|
||||
### Assign name and allocate pseudo-TTY (--name, -it)
|
||||
|
||||
$ docker run --name test -it debian
|
||||
root@d6c0fe130dba:/# exit 13
|
||||
|
Reference in New Issue
Block a user