mirror of https://github.com/docker/cli.git
Merge pull request #448 from thaJeztah/fix-typo
Fix typo and minor Markdown edits
This commit is contained in:
commit
070d0811e3
|
@ -78,7 +78,7 @@ When the `URL` parameter points to the location of a Git repository, the
|
||||||
repository acts as the build context. The system recursively fetches the
|
repository acts as the build context. The system recursively fetches the
|
||||||
repository and its submodules. The commit history is not preserved. A
|
repository and its submodules. The commit history is not preserved. A
|
||||||
repository is first pulled into a temporary directory on your local host. After
|
repository is first pulled into a temporary directory on your local host. After
|
||||||
the that succeeds, the directory is sent to the Docker daemon as the context.
|
that succeeds, the directory is sent to the Docker daemon as the context.
|
||||||
Local copy gives you the ability to access private repositories using local
|
Local copy gives you the ability to access private repositories using local
|
||||||
user credentials, VPN's, and so forth.
|
user credentials, VPN's, and so forth.
|
||||||
|
|
||||||
|
|
|
@ -753,8 +753,9 @@ is set on the cgroup and applications in a container can query it at `/sys/fs/cg
|
||||||
On Windows, this will affect containers differently depending on what type of isolation is used.
|
On Windows, this will affect containers differently depending on what type of isolation is used.
|
||||||
|
|
||||||
- With `process` isolation, Windows will report the full memory of the host system, not the limit to applications running inside the container
|
- With `process` isolation, Windows will report the full memory of the host system, not the limit to applications running inside the container
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
docker run -it -m 2GB --isolation=process microsoft/nanoserver powershell Get-ComputerInfo *memory*
|
PS C:\> docker run -it -m 2GB --isolation=process microsoft/nanoserver powershell Get-ComputerInfo *memory*
|
||||||
|
|
||||||
CsTotalPhysicalMemory : 17064509440
|
CsTotalPhysicalMemory : 17064509440
|
||||||
CsPhyicallyInstalledMemory : 16777216
|
CsPhyicallyInstalledMemory : 16777216
|
||||||
|
@ -765,9 +766,11 @@ On Windows, this will affect containers differently depending on what type of is
|
||||||
OsInUseVirtualMemory : 1957488
|
OsInUseVirtualMemory : 1957488
|
||||||
OsMaxProcessMemorySize : 137438953344
|
OsMaxProcessMemorySize : 137438953344
|
||||||
```
|
```
|
||||||
|
|
||||||
- With `hyperv` isolation, Windows will create a utility VM that is big enough to hold the memory limit, plus the minimal OS needed to host the container. That size is reported as "Total Physical Memory."
|
- With `hyperv` isolation, Windows will create a utility VM that is big enough to hold the memory limit, plus the minimal OS needed to host the container. That size is reported as "Total Physical Memory."
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
docker run -it -m 2GB --isolation=hyperv microsoft/nanoserver powershell Get-ComputerInfo *memory*
|
PS C:\> docker run -it -m 2GB --isolation=hyperv microsoft/nanoserver powershell Get-ComputerInfo *memory*
|
||||||
|
|
||||||
CsTotalPhysicalMemory : 2683355136
|
CsTotalPhysicalMemory : 2683355136
|
||||||
CsPhyicallyInstalledMemory :
|
CsPhyicallyInstalledMemory :
|
||||||
|
|
Loading…
Reference in New Issue