Fix typo and minor Markdown edits

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2017-08-16 17:53:57 +02:00
parent 799de1dae2
commit 9544b70cb3
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
2 changed files with 6 additions and 3 deletions

View File

@ -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.

View File

@ -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 :