Commit Graph

196 Commits

Author SHA1 Message Date
Sebastiaan van Stijn 8e71348370
remove references to obsolete versions, and rewrite stdin section
This removes references to obsolete versions of Docker, and rewrites
the section on building from a Dockerfile piped through `stdin`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-03-08 17:04:39 +01:00
David Cho-Lerat 6e0723675a
Typo: "use HTTP API" => "use the HTTP API" 2019-02-15 17:02:20 +01:00
L-Hudson 39aa4756cd
Update build_enhancements.md
editorial crx
2019-01-24 14:48:31 -05:00
Loïc B 8e73cd0212
Update build_enhancements.md with troubleshooting hints
Add troubleshooting tips from https://github.com/moby/moby/issues/38303
2019-01-23 11:42:46 +01:00
paigehargrave 0dab4ade68
Merge branch 'master' into name-change-for-Docker-Desktop 2019-01-14 11:14:48 -05:00
paigehargrave cfe3795956
Update index.md 2019-01-11 15:07:55 -05:00
paigehargrave 5eb125fcfd
Update dev-best-practices.md 2019-01-11 15:06:56 -05:00
paigehargrave dba8ed5197
Update baseimages.md 2019-01-11 14:43:33 -05:00
L-Hudson 20a099200d
Merge pull request #6761 from bruceadowns/patch-2
Update index.md
2019-01-03 08:41:19 -05:00
Maria Bermudez f36c2bad4f
Merge pull request #7710 from alejandrox1/master
Update docker sdk go example
2019-01-02 12:43:04 -08:00
Jorge Alarcon Ochoa 27ad1c0928 Update docker sdk go example
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2018-12-27 15:59:13 -06:00
L-Hudson 7a39bec77a
Merge pull request #6155 from RobertKielty/patch-1
Call out go version required to get client
2018-12-21 08:44:31 -05:00
Maria Bermudez 48cf507e7c
Syntax error in frontmatter 2018-12-20 16:18:58 -08:00
Maria Bermudez 0aa5ac51f4
Remove smart quotes 2018-12-20 11:19:01 -08:00
Maria Bermudez 04d6c618a3
Merge branch 'master' into issue#7592 2018-12-20 11:13:10 -08:00
Evert Ramos a4e4d3a9fa
Small typo
fix typo in docs
2018-12-17 16:03:45 -02:00
Maria Bermudez 4bdcbf8ae9 Merge branch 'master' of github.com:docker/docker.github.io 2018-12-10 12:41:24 -08:00
L-Hudson 51d2167776
Merge pull request #7731 from docker/ssh-docker-build-usage-826
Document SSH usage for Docker builder
2018-12-10 14:59:28 -05:00
Anne Henmi 07620469f9
Update build_enhancements.md 2018-12-10 08:04:39 -07:00
Anne Henmi 96f63b78a0
Update build_enhancements.md
Included technical edits from @andrewhsu.
2018-12-04 13:20:25 -07:00
Jeffrey Morgan 5cdb36d5a1 Merge branch 'master' of github.com:docker/docker.github.io 2018-12-03 15:14:51 -05:00
morihaya 29428eeced fix COPY file name 2018-12-03 14:29:53 +09:00
L-Hudson 2fb45aab10
Merge pull request #7762 from tdensmore/patch-2
Update build_enhancements.md
2018-11-30 12:43:06 -05:00
Maria Bermudez 24019d9d85
Remove default assertion for dash shell 2018-11-29 15:05:11 -08:00
Maria Bermudez 9114fc2a7b Revert "Merge pull request #7735 from crgaurav/patch-1"
This reverts commit 81ac3e8bdf, reversing
changes made to d79dc1d84f.
2018-11-29 14:58:17 -08:00
todd densmore d448491e9e
Update build_enhancements.md
Updated to the correct docker build command.
2018-11-28 09:22:56 -05:00
Anne Henmi 07855dc667
Update build_enhancements.md 2018-11-27 19:30:28 -07:00
Sebastiaan van Stijn 4e4398d158
Update develop/develop-images/build_enhancements.md
Co-Authored-By: ahh-docker <41210220+ahh-docker@users.noreply.github.com>
2018-11-27 19:18:35 -07:00
Sebastiaan van Stijn dc768f6ec1
Update develop/develop-images/build_enhancements.md
Co-Authored-By: ahh-docker <41210220+ahh-docker@users.noreply.github.com>
2018-11-27 19:18:24 -07:00
Anne Henmi 837beda76b
Update build_enhancements.md
Capitalized headers.
2018-11-27 09:24:09 -07:00
Jeffrey Morgan c0656fa7fa Rename official repos to official images 2018-11-21 15:19:50 -05:00
Gaurav Sharma f7e90e31d4
Update dockerfile_best-practices.md 2018-11-21 22:10:08 +05:30
Gaurav Sharma 862562f9e6
change dash to bash.
in this file, I have seen dash instead of bash.
2018-11-21 22:07:48 +05:30
Anne Henmi 1085883701 Initial draft. 2018-11-20 09:10:08 -07:00
Jeffrey Morgan ca4ffb1ee2 Merge branch 'master' into consolidation-changes 2018-11-14 18:30:02 -05:00
Maria Bermudez b746594a20
Update index.md 2018-11-13 16:33:38 -08:00
newoneforasn4 c71217dec6
Simplified Sentence in /develop/index.md 2018-11-13 05:34:18 -08:00
Anne Henmi 15c918845f
Update build_enhancements.md 2018-11-01 11:34:55 -06:00
Anne Henmi 4ad27ec5d8 Made Tonis' fix on the correct location and removed beta tag. 2018-11-01 11:28:16 -06:00
imedqq b1654c157c Replaced curly quotes in command samples with regular quotes 2018-10-31 14:33:01 -04:00
imedqq 17c97dab59 Replaced curly quotes in command samples with regular quotes 2018-10-31 14:22:57 -04:00
Jeffrey Morgan ca466a55ed Rename Docker Store and Docker Cloud - WIP 2018-10-04 19:41:32 -04:00
Anne Henmi f957ec17ce removed. 2018-09-10 13:54:58 -06:00
Anne Henmi 347703471c
Update build_enhancements.md 2018-09-10 09:22:50 -06:00
Anne Henmi 60b5cc5116
Update build_enhancements.md
Added Beta and title/description banner
2018-09-07 11:05:13 -06:00
Anne Henmi 64e48d2d5e Added build enhancement terms (frontend and LLB). 2018-09-06 13:05:42 -06:00
Anne Henmi 2a83a8c0f8
Update build_enhancements.md 2018-09-06 12:56:30 -06:00
Anne Henmi e7f4a3ead4
Update build_enhancements.md
Added mount option details per @andrewhsu
2018-09-06 12:52:21 -06:00
Anne Henmi 2297c279ac
Update build_enhancements.md
Updated secrets to secrets20180828
2018-09-06 12:45:36 -06:00
Anne Henmi e18baa92f2
Update build_enhancements.md
Moving the definitions to glossary.
2018-09-06 12:44:26 -06:00
Anne Henmi bca864799f Created file. Moved over from Google docs. 2018-09-05 08:05:45 -06:00
Maria Bermudez aaca9b83b5 Revert "Revert "Merge branch 'master' of github.com:docker/docs-private into test-branch-2""
This reverts commit 4c95d161ca.
2018-08-29 19:01:03 -07:00
Maria Bermudez 4c95d161ca Revert "Merge branch 'master' of github.com:docker/docs-private into test-branch-2"
This reverts commit af5f2fcc38, reversing
changes made to 338b690d26.
2018-08-29 18:37:44 -07:00
Maria Bermudez 840c167055 Revert "Revert "Merge branch 'master' of github.com:docker/docs-private into test-branch-2""
This reverts commit 14080c18bd.
2018-08-29 18:36:03 -07:00
Maria Bermudez 14080c18bd Revert "Merge branch 'master' of github.com:docker/docs-private into test-branch-2"
This reverts commit af5f2fcc38, reversing
changes made to 338b690d26.
2018-08-29 14:47:31 -07:00
Wang Jie 7b975d00d0
Update multistage-build.md 2018-08-01 18:28:33 +08:00
tfoxnc 14e01eea81 Revert "Merge pull request #7050 from docker/remove"
This reverts commit 5c7e147fac, reversing
changes made to e6ccb686b4.
2018-07-19 15:54:00 -04:00
tfoxnc 1b08261786 remove links to Docker for AWS/Azure 2018-07-18 20:52:30 -04:00
Douglas Naphas c45de66122
Grammar corrections in Best Practices 2018-07-14 07:46:47 -04:00
Bruce A Downs 66e0628992 Update index.md 2018-06-15 16:30:24 -07:00
Franco Victorio 25127f46cc Update dockerfile_best-practices.md
Add missing tag names.
2018-06-14 14:30:33 -07:00
Jason Zhekov b58ec64c2e Update dead link in dockerfile_best-practices 2018-06-14 14:22:01 -07:00
Sebastiaan van Stijn cd78aacee9
Merge pull request #6781 from amihaiemil/patch-1
Added docker-java-api
2018-06-08 20:17:47 -07:00
Benjamin Fuhro d23bc16180 typo fixing (#6812) 2018-06-03 20:31:02 -07:00
Gwendolynne Barr 7b4073b8fe
Add stdin feature; Fix typo (#6807) 2018-06-02 17:15:29 -07:00
Gwendolynne Barr e2c8ccef8f
Copyedit Dockerfile best practices doc (#6806) 2018-06-02 14:39:14 -07:00
Mihai A e33e7f0499
Added docker-java-api 2018-05-29 23:34:14 +03:00
Bruce A Downs d141ae11f2
Update index.md 2018-05-25 00:49:40 -07:00
Joao Fernandes 9a4fdf9476 /enterprise -> /ee (#415)
* /enterprise -> /ee
* /datacenter/dtr/2.5 -> /ee/dtr/
* /datacenter/ucp/3.0->/ee/ucp
* Fix configs
* Fix broken images
* Remove unused images for DTR
* Remove unused images for UCP
* Add a few redirects to avoid breaking beta exercises
2018-04-16 13:31:24 -07:00
Gwendolynne Barr 491ad634ca
Update build context section (#6277) 2018-03-23 06:08:33 -07:00
khmel-aleh b4a27294c0 Update dockerfile_best-practices.md 2018-03-15 11:36:12 -07:00
Robert Kielty 3a48dc03a7
Update index.md
Bumped to 1.9.4
2018-03-06 12:57:04 +00:00
Robert Kielty cad9753658
Call out go version required to get client
If you have an old version of go installed on your machine the instruction to 
go get ithub.com/docker/docker/client fails. 

ref https://forums.docker.com/t/possible-doc-bug-for-go-client/47374?u=rkielty

I think that go 1.8 is the required minimum based on the following :
* https://forums.docker.com/t/possible-doc-bug-for-go-client/47374/2?u=rkielty Thanks David Maze!
* I have tested this with go 1.6.2 where it failed as described above
* I have test this with go 1.10 where it succeed

I cannot find a statement where the required minimum go version to get the client is called out
I checked the above doc along with 
* https://godoc.org/github.com/docker/docker/client
* https://github.com/moby/moby/blob/master/client/README.md
2018-03-06 09:05:48 +00:00
yihyunyi f07444668c fix the incorrect sentence
In the sentence, repeated "you" twice.
2018-03-02 10:55:22 -08:00
Sacha Oltmans aed0b2e2ac ENV layer persistence clarification (#5974) 2018-02-09 13:18:27 -08:00
Sasha Goldshtein 2c35211913 Fix run-container example (#5937)
The very first example (https://docs.docker.com/develop/sdk/examples/#run-a-container) has two annoying issues fixed by this patch:

1. The `ImagePull` call does not complete before the subsequent `ContainerCreate` call is issued. As a result, there is a race between pulling the image and starting the container from the image. For locally cached images, `ContainerCreate` will still work, but for images that have to be pulled, it will likely fail. This was [reported on StackOverflow](https://stackoverflow.com/questions/42816132/docker-run-using-golang-api-docker-docs) but not fixed yet.

2. The `ContainerLogs` call doesn't return a string, but rather an intermixed byte buffer with the stdout and stderr from the container. This can be highly confusing. Added `Tty: true` to the `ContainerCreate` call such that the `ContainerLogs` output only includes stdout.
2018-02-07 16:14:08 -08:00
Misty Stanley-Jones d1b01e29a1
Clarify scratch image example (#5947) 2018-02-07 15:48:05 -08:00
Misty Stanley-Jones a17a47dd77
Favor docker <object> <verb> format of commands (#5914)
Remove instances of:
- docker rmi
- docker images
- docker stop
- docker rm
- docker create
- docker exec
- docker attach
2018-02-05 09:33:47 -08:00
Jia Tian 5f54d913a9 Update multistage-build.md (#5901) 2018-02-02 09:50:00 -08:00
Misty Stanley-Jones 793d43d79b
Add info about CE and EE max API mismatch (#5910) 2018-02-02 09:30:16 -08: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
Misty Stanley-Jones a55ddf60a9
Move /engine/installation to /install (#5651)
* Move /engine/installation to /install

* Add Docker for IBM Cloud to the matrix
2018-01-26 10:29:14 -08:00
Misty Stanley-Jones a4f5e30249
Various copyedits to reduce future tense, wordiness, and use of 'please' (#5788)
* Reword lots of instances of 'will'

* Reword lots of instances of won't

* Reword lots of instances of we'll

* Eradicate you'll

* Eradicate 'be able to' type of phrases

* Eradicate 'unable to' type of phrases

* Eradicate 'has / have to' type of phrases

* Eradicate 'note that' type of phrases

* Eradicate 'in order to' type of phrases

* Redirect to official Chef and Puppet docs

* Eradicate gratuitous 'please'

* Reduce use of e.g.

* Reduce use of i.e.

* Reduce use of N.B.

* Get rid of 'sexagesimal' and correct some errors
2018-01-25 17:37:23 -08:00
Alex Rhea a61e1a6c20 adding harbor master (#5770) 2018-01-19 11:46:17 -08:00
Valerio Mazzeo 350c44e4c6 Added docker-client-swift (#5287) 2017-11-14 14:03:20 -08:00
MwumLi 5d6a2909fd fix "List all images" active first 2017-11-10 10:00:04 -08:00
Jordan Wright 1c0cc75eaf Fixes incorrect link to SDK Installation (#5254)
This fixes a broken link to the SDK installers. Currently, it points /develop/api, which doesn't exist.
2017-11-09 10:11:00 -08:00
Andy Feller ff48ef02c1 Fixed typo in best practice documentation 2017-11-02 11:04:14 -07:00
Misty Stanley-Jones a30b95e49d Add API 1.33, API matrix 2017-10-17 21:34:07 -07:00
Misty Stanley-Jones 6aae2e4e84 Add pointer to latest API ref (#4897) 2017-10-16 15:04:24 -07:00
John Mulhausen 8b704f7b87 Revert "Add pointer to latest API ref" (#4896)
* Revert "Clarify patch and update cycles (#4894)"

This reverts commit 6b1577aa0d.

* Revert "Add pointer to latest API ref (#4892)"

This reverts commit a6b436d133.
2017-10-11 16:33:21 -07:00
Misty Stanley-Jones a6b436d133 Add pointer to latest API ref (#4892) 2017-10-11 15:52:15 -07:00
Jim Galasyn 5698ef7c4f Add note about stack deploy for image pulls (#4815) 2017-10-05 15:01:51 -07:00
Misty Stanley-Jones 9df5cae37a Fix 404 (#4802) 2017-10-04 16:53:49 -07:00
Misty Stanley-Jones ae8d81a90e Fix problems in the SDK examples (#4733) 2017-09-27 16:01:02 -07:00
Misty Stanley-Jones 99a697824b Add develop section, reorganize TOC (WIP) (#4312) 2017-09-26 20:16:59 -07:00