* Change section headers for backing up/restoring volumes to use "volume" instead of "container"
The section headers "Backup a container" and "Restore container from backup" are used as headers for sections that are actually about backing up and restoring volumes.
* Minor style update
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
* Add anonymous volumes autoremove info
Anonymous volumes aren't removed if another container adopts them with `--volumes-from`, see: https://github.com/docker/docker.github.io/issues/13435
* Format Note
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
* Minor `read-only` clarification
## Why
It was not obvious to me that `ro` is the shorthand form of `readonly`.
## Description
This adds a bit of text to explicitly state that `ro` is the shorthand form of `readonly` when using volumes
* Update storage/volumes.md
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
- 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>
The documentation curently doesn't contain reference docs for the
unified (version-less) compose-file syntax, so for now replacing
all links to point to the v3 compose-file reference, which is still
present.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
In section Create a service which creates an NFS volume,
NFSv3 command states right device path(:/var/docker-nfs),
but NFSv4 command is not configured to refer that path.
So updated the path.