* Second open(2) causes copy-up operation
The documentation incorrectly credits the first, read-only call to open as the trigger of the copy-up operation. It's the subsequent read-write call that actually triggers the copy-up operation.
If the first grep is already quiet, the second one will not find anything and exit with error code 1. So the quiet flag has to be on the second grep command to get the script working.
* Update install to ensure extras repo is enabled
The `extras` repos are required for 17.06 which depends on the
`container-selinux` package.
CentOS typically has the repo enabled by default, but in some cases may
be disabled, and RHEL never has it enabled by default.
This is provided by the main Fedora repos and does not require any extra
setting.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
* Jekyll is picky about indentation.
* Jekyll is picky about indentation.
Previous version could not work as grep -q does not print anything to stdout, only exits with a status code depending on a match was found or not. Hence the variables were always empty and could not be compared with 0
* Remove extraneous **warning**
The .warning class already prepends "Warning"
* changed Warning tag to vanilla
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
If set to `"mtu": "1500"` will got an error:
```
unable to configure the Docker daemon with file /etc/docker/daemon.json: json: cannot unmarshal string into Go value of type int
```
That code can not unmarshal string into Go value of type int, I changed the type from string to int.
On Raspbian Jessie the docker package is named `docker-engine`, `docker` being another unrelated package. Package details: https://packages.debian.org/jessie/docker
1. remove step 8 from "Configure direct-lvm mode for production" session.
2. change "0 = disabled" to "100 = disabled" in step 10 for thin_pool_autoextend_threshold.
* Added note on tag formatting of docker image
Signed-off-by: French Ben <frenchben@docker.com>
* Updated notes
Signed-off-by: French Ben <frenchben@docker.com>
* Update the osxfs documentation with recent details about caching.
Signed-off-by: Jeremy Yallop <yallop@docker.com>
* Add a note about 'cached' to the volumes tutorial.
Signed-off-by: Jeremy Yallop <yallop@docker.com>
* Add a document giving a detailed specification of osxfs caching.
Signed-off-by: Jeremy Yallop <yallop@docker.com>
* Americanize spelling in the osxfs-caching document.
Signed-off-by: Jeremy Yallop <yallop@docker.com>
* More osxfs benchmark details for 'go list'.
Signed-off-by: Jeremy Yallop <yallop@docker.com>
* Remove mentions of the blog post.
Signed-off-by: Jeremy Yallop <yallop@docker.com>
* editorial, topic structure changes, x-refs
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* linked to new topic also where bind mounts are discussed in Namespaces
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* added more tags
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* Decapitalize descriptions
Signed-off-by: Jeremy Yallop <yallop@docker.com>
* "releease" ~> "release"
Signed-off-by: Jeremy Yallop <yallop@docker.com>
* Use @avsm's suggested rewording for the osxfs-caching introduction.
Signed-off-by: Jeremy Yallop <yallop@docker.com>
* Add an example showing how to use `cached`, `consistent`, etc.
Signed-off-by: Jeremy Yallop <yallop@docker.com>
* Add a link to the user-guided caching blog post.
Signed-off-by: Jeremy Yallop <yallop@docker.com>
* added examples heading, more x-refs to blog post, docker run
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* escaped second dash in --volume long version of command
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* fixed double dashes on volume option to render properly
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
The syslog TCP+TLS example suggests that the relevant options are `syslog-tls-ca-cert=syslog-tls-ca-cert=...`, `syslog-tls-cert=syslog-tls-ca-cert=...` and `syslog-tls-key=syslog-tls-ca-cert=...`. This corrects this example.
This commit corrects the installation steps for Debian (not Raspbian)
when running on ARMHF. It explains how to install Docker CE for Debian ARMHF.
Note: Installation instructions for Raspbian have not been changed.
* describe the effect of using --memory-swap=0
Signed-off-by: Zhiguo Deng <bjzgdeng@linux.vnet.ibm.com>
* Edits
* Rewording about definition of swap
* Reworking for clarity of all the different ways it can be unset
* Update fedora.md
add warning class to blogquote
* Update linux-postinstall.md
add warning class to blogquote
* Update ubuntu.md
add warning class to blogquote
* Update https.md
add warning class to blogquote
* Update swarm_manager_locking.md
add warning class to blogquote
* Update dockerlinks.md
add warning class to blogquote
* Update deploying.md
add warning class to blogquote
* Update deploying.md
add warning class to blogquote
* Update insecure.md
add warning class to blogquote
* Update discovery.md
add warning class to blogquote
* Update dockerd.yaml
add warning class to blogquote
* Update docker_secret_rm.yaml
add warning class to blogquote
* Update docker_service_rm.yaml
add warning class to blogquote
* Update docker_secret_rm.yaml
add warning class to blogquote
* Update scale-your-cluster.md
add warning class to blogquote
* Update resource_constraints.md
add warning class to blogquote
* Update binaries.md
add warning class to blogquote
* Update content_trust.md
add warning class to blogquote
* Update secrets.md
add warning class to blogquote
* Update index.md
add warning class to blogquote
* Update install-sandbox-2.md
add warning class to blogquote
* Update docker-toolbox.md
add warning class to blogquote
* Update index.md
add warning class to blogquote
* Update centos.md
add warning class to blogquote
* Update debian.md
add warning class to blogquote
* Update faqs.md
add linebreak after Looking for popular FAQs on Docker for Windows?
* Update install.md
add linebreake after **Already have Docker for Windows?**
* Revert "Update dockerd.yaml"
This reverts commit 3a98eb86f700ade8941483546c33f69a9dab8ac3.
* Revert "Update docker_secret_rm.yaml"
This reverts commit 5dc1e75f37033932486c11287052b7d64bf83e55.
* Revert "Update docker_service_rm.yaml"
This reverts commit a983380a5625b471f1a03f8ed2301ead72f98f1b.
* Revert "Update docker_secret_rm.yaml"
This reverts commit 4c454b883c300e26fbb056b954bb49ec2933b172.
* Fix manager and worker join tokens. Issue #2088.
Fix screenshots per issue #2126
Move vote images to correct dir
Fix rendering issue with inline code snippet #1990
Fix for stack yaml reference (#1476)
Fix image link
Add shutdown procedures for #1017
* Make the fix asked in the PR
Little fix
* Create index.md
* Create part2.md
* Create part3.md
* Create part4.md
* Create part5.md
* Rewrite step 2
* Update part2.md
* Update part2.md
* Update part2.md
* Update part2.md
* Update part2.md
* Update part2.md
* Update index.md
* Rewrite of part 3
* Tabs-based swarm instructions, pass 1
* Rewrite of parts 3 and 4, tabs implementation
* Navigation, rewrites, part 4 completion
* Part 5 w/Redis
* Part 5, compelte Redis, rename part 6
* TOC/redirect implementation
* Update part6.md
* Changing links to point to new tutorial
* Rewrites and asciinemas
* Fix overview
* Label diagrams
* Fix button
* Fix link to where Stacks are covered
* Fix typo
* s/file/directory
* Reformat paragraph
* Shorten tabs
* Typos
* Release DTR 2.2.4, 2.1.6
* Go back to small /edge (#2736)
* Go back to small /edge
* Update site front page
Add info about Editions
Reorganize components
Update headings
* Move logic of fetching content to a script
* Add v1.28 API
* Add info about versioned API
* Fix a few 404s (#2785)
* Fix typo
* Propose use of another word (#2791)
I think that interested is better than invested, in this case.
* Update secrets.md (#2780)
remove correct secret
* Change mount syntax on windows from //c/ to c:\ (#2761)
LGTM
* Update hackathon.md (#2773)
* nodes.md grammar correction (#2802)
* Grammar and formatting check (#2797)
* Wrong article
If the first word starts with a vowel sound you use an. If the first word has a consonant sound use a.
* Making the text bold
Removing backticks because probably the text needs to be bold and not marked as code.
* Update overview.md (#2805)
It should say 'predecessors', not 'successors'. Otherwise the sentence and the subsequent example don't make sense.
* shrink some big images (#2798)
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
* #2627 (#2804)
- Fix right sidebar overflow on rescale
* Update hackathon.md
* change pre-build to pre_build to remove confusion (#2813)
* change pre-build to pre_build to remove confusion
* clarify that pre_build hook refers to a file
* Update TOC to sentence case (#2790)
* add more info about DTR on the overview page (#2794)
fix#1904
* Update glossary.yaml (#2807)
Fix#2575.
* fix imports since docker api pkg migration, fix example repository name to be canonical (#2806)
* tweak: code format for filename (#2829)
* tweak: code format for filename
slight reword, so as to avoid confusion w/filename
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* small changes just to kick build again
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* Update hackathon.md
* fix broken links (#2808)
* fix broken link (#2809)
* [CONTRIBUTING] update broken link (#2826)
* [Debian] add gnupg2 requirement for stretch (#2823)
* TOC/redirect implementation
* Changing links to point to new tutorial
* Rewrites and asciinemas
* Fix bad merge
* Metadata, formatting
* Front page formatting, link instrumentation
* Go back to small /edge
* Update site front page
Add info about Editions
Reorganize components
Update headings
* Move logic of fetching content to a script
* Add v1.28 API
* Add info about versioned API
Docker 1.14 is adding a new feature called "placement preferences". This
adds a note about them, and a pointer to the "service create" reference
that explains them in detail.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
This functionality was added in docker/docker#28762.
It allows a user to specify what to do in cases when a log message can't
be sent, block the container's stdio or drop messages.
Also removes an erronious entry about a `nats` log driver, which does
not exist.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Removed "Using default tag: latest" from sample command output. The testing tag was specified in the command, so it would not being using the default tag.
Clarified the sentence on running Linux containers on Windows. You can't do that, but you can run Linux containers with *Docker for Windows*, which spins up a Moby VM for Linux containers.
* update step_three.md
Update docker hub link by docker store link (docker/whalesay is no more in the results of docker hub search). Would be interesting to update the illustration images with docker store illustrations.
* Update step_three.md
* added Toolbox, Windows 7/8 to node setup
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* clarified platform details
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
copyedits, rewrite
fixed some links
simplified/shortened this topic
tweaked description of key, option, value
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
Word Swarm has been used here for the first time, and one line introduction, to what swarm is, would be very beneficial in helping to decide where to begin with.
This is the same issue as the page "Try it out and vote". I have updated the consistency of format to be the same through all pages. (and I hope I do not overdo these small things, but I just like the ease of proposing changes to the documentation and I hope that it is getting better this way)
On the "Sample app overview" page all blocks of IP address and port are shown as <manager-IP>:5000 or <manager-IP>:5001.
On this page "Try it out and vote" I see some inconsistency of these forms and fixed them, because I think the style format must be in the form "<manager-IP>:5000", e.g., colon after character ">".
At the current time, Docker flushes any pre-existing DOCKER and DOCKER-ISOLATION chains, meaning that the previous advice was misleading and led users in the wrong direction regarding restricting access to containers via iptables.