Commit Graph

29 Commits

Author SHA1 Message Date
Rafid Bin Mostofa 8e8fc2c7b2 fix(engine): Minimum --kernel-memory is 6m
``linuxMinMemory`` was updated from 4m to 6m [0], and it is
used to compare ``resources.KernelMemory`` [1, 2]. Thus, the
actual minimum allowed value for --kernel-memory is 6m.

Refs:
- [0] d2e23405be
- [1] https://github.com/docker/engine/blob/master/daemon/daemon_unix.go#L473
- [2] https://github.com/moby/moby/blob/master/daemon/daemon_unix.go#L452
2023-02-04 13:52:42 +06:00
David Karlsson bc8fde23b9
doc refresh: Linux postinstall instructions (#15969)
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2022-10-26 09:08:21 +00:00
Onkar Lal Janwa 0b0b7050e5
Update description of -m option (#13813)
* Update description of -m option

The container memory uses does not go beyond the limit set to `-m`. So I believe the description should be "If you set this option, the maximum allowed value is 6m (6 megabyte)." instead of "If you set this option, the minimum allowed value is 6m (6 megabyte).".

* Clarify the threshold for '-m' option

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-11-19 12:50:30 +00:00
Sebastiaan van Stijn 1583678203
Add missing code-hints, and minor markdown edits
- Add missing code-hints (console, yaml)
- Consistently add an empty line after code-blocks
- Combine some examples where the output and the command were
  put in separate blocks. With the "console" code-hint, this
  is no longer nescessary.
- fix indentation in cloud/ecs-integration.md, which caused the
  numbered-list to be interrupted.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-16 12:59:23 +02:00
Sebastiaan van Stijn 859923171c
config/containers: use "console" for shell examples
This allows for easier copying of the commands, without selecting the
prompt.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-06 17:19:30 +02:00
Orkun İncili 9e5dd4b7eb
Update resource_constraints.md
Minimum memory limit updated from 4 megabyte to 6 megabyte to create container.  (#41168)
I noticed that minimum limit is still 4 megabyte in docker documentation. I edited 4m to 6m.
2021-06-01 15:04:03 +03:00
pneumoman 4f12a72ffc
Update resource_constraints.md
The docker engine seems to get confused if you don't  quote device=1,2 as shown  I.E. '"device=1,2"'
2021-02-26 14:19:24 -05:00
Sebastiaan van Stijn 2ce808edc0
Remove references to obsolete engine versions
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-26 15:45:07 +01:00
Usha Mandya 1c9b279e09
Merge pull request #11519 from andylibrian/fix-cpu-period-default-value
Update config/containers/resource_constraints.md
2020-10-21 13:53:39 +01:00
Sebastiaan van Stijn 393d3f6566
Add rel="noopener" to external links
See https://web.dev/external-anchors-use-rel-noopener/

Using noopener, as that addresses the security issue. "noreferer" blocks
the REFERER header, which may still be useful for some target URLs.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-12 13:09:30 +02:00
Andy Librian 84abc8af94
Update config/containers/resource_constraints.md
Fix --cpu-period default value in the description
2020-10-10 05:52:49 +07:00
Will Badart 344cb8985d
Add missing image to `docker run` GPU example command 2020-08-26 21:12:31 -06:00
Sebastiaan van Stijn b0f9061565
config: use relative markdown links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 13:03:36 +02:00
Sebastiaan van Stijn 727941ffdd
container config section: various markdown fixes
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-08 14:00:58 +02:00
Sebastiaan van Stijn d813acb6e1
Engine: reorganize install topic
- Move getting started overview to /get-started/overview/
- Move engine installation files under /engine/
- Redirect the top-level /install/ to /get-docker/
- Updated titles in left-hand navigation
- Added back some pages to the navigation that were
  currently not included.
- Reduce some steps in the installation pages
- Move devicemapper prerequisites to the devicemapper
  storage driver page.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-06 10:50:28 +02:00
Sebastiaan van Stijn 4224bf0b04
Merge pull request #9340 from tao12345666333/fix-memory-swap-effect
Fix the effect of `--memory-swap` is unset.
2019-12-11 17:02:11 +01:00
Jintao Zhang 6a8e5b3107 Fix the effect of `--memory-swap` is unset.
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-10-11 15:52:53 +08:00
Adrian Plata 350ec935e7
Runtime page rename (#9439)
Signed-off-by: Adrian Plata <adrian.plata@docker.com>
2019-09-12 14:27:28 -07:00
Adrian Plata d668fc707c
Apply suggestions from code review
Co-Authored-By: Tibor Vass <tiborvass@users.noreply.github.com>
2019-07-08 16:13:19 -07:00
Adrian Plata 2142f4ad7b adding NVIDIA capabilities information
Signed-off-by: Adrian Plata <adrian.plata@docker.com>
2019-07-08 15:13:46 -07:00
Adrian Plata a00c783961 adding NVIDIA capabilities information
Signed-off-by: Adrian Plata <adrian.plata@docker.com>
2019-07-08 13:33:36 -07:00
Adrian Plata d8aa3f275b adding NVIDIA capabilities information
Signed-off-by: Adrian Plata <adrian.plata@docker.com>
2019-07-02 15:48:30 -07:00
Adrian Plata a322063892 adding gpu access and renaming to specify
Signed-off-by: Adrian Plata <adrian.plata@docker.com>
2019-06-27 17:23:12 -07:00
opsxcq 677853d3b0
Fixed example
Argument `--it` doesn't exist, the correct way to run the example is with `-it`
2018-12-22 13:34:23 +00:00
Kavika Tavui 6699ef8acf
Update resource_constraints.md
Block IO is not configurable, the current documentation suggests that it is on line 12.
2018-09-20 09:41:53 -07:00
Jeff Geerling 38ecdd498f Add note about not using free to determine swap availability inside container. 2018-06-15 15:27:41 -07:00
Mattias Berge 56bfc9b782 Update resource_constraints.md
corrects information about quota. Its not about guarantee, it's about a hard limit before throttling.
2018-05-15 16:05:59 -07:00
vijay rama raju samanuri 541e0164be typo on run option (#6547) 2018-04-26 10:50:05 -07:00
Misty Stanley-Jones 1b343beca4
Clean up information architecture (#5893)
- Move /engine/admin/ and /engine/userguide/ topics to /config/ and /develop/
- Get rid of some stub topics that are no longer needed
- Rename /engine/article-img/ to /engine/images/
- Mark ambassador linking topic as obsolete
- Flesh out multistage build topic
- Reorganize some terribly obsolete content in other files
2018-02-01 15:25:43 -08:00