Commit Graph

53994 Commits

Author SHA1 Message Date
Sebastiaan van Stijn 07d410de21
Dockerfile: fix links in same step as generating the files
For intermediate stages, it's generally ok to perform steps
separately, however in this case, fixing the links would
happen every time the HTML was generated, so we might as
well do it in the same step, to reduce the size of the local
build cache, as it was adding 54MB for each rebuild:

    IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
    7d97d86ae290        3 minutes ago       RUN /bin/sh -c find ${TARGET} -type f -name …   53.7MB              buildkit.dockerfile.v0
    <missing>           3 minutes ago       RUN /bin/sh -c jekyll build -d ${TARGET} # b…   375MB               buildkit.dockerfile.v0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-03-15 18:25:30 +01:00
Sebastiaan van Stijn a5ab6fa4f8
fetch-upstream-resources: fix .svn cleanup step
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-03-15 18:22:56 +01:00
Sebastiaan van Stijn 8eb6ee6cb8
Add more files to .dockerignore
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-03-15 18:22:16 +01:00
Stefan Scherer 64495ca279
Merge pull request #10442 from StefanScherer/upload-only-in-upstream-repo
ci: Upload docs only in upstream repo
2020-03-13 19:04:30 +01:00
Stefan Scherer 754bcd08e0
Skip more files in final site
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-13 17:55:19 +01:00
Stefan Scherer e26be9456c
Upload docs only in upstream repo
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-13 14:44:05 +01:00
Sebastiaan van Stijn 35a7d71f2f
Merge pull request #10437 from pkennedyr/patch-7
Removed "Create Organization" screenshot
2020-03-13 11:48:24 +01:00
Sebastiaan van Stijn 496ca12202
Merge pull request #10445 from usha-mandya/hub-screenshots-patch
Delete Hub org screenshots
2020-03-13 11:48:01 +01:00
Usha Mandya 1015acbd40 delete Hub org screenshots 2020-03-13 10:14:33 +00:00
Usha Mandya 4e2d1ea427
update Desktop release date (#10441) 2020-03-13 10:09:09 +00:00
Stefan Scherer d1edcc8b8c
Merge pull request #10400 from docker/gh-mster-s3
ci: copy static files to s3 on master build
2020-03-13 07:50:26 +01:00
Ryan Kennedy feff7a41e0
Removed "Create Organization" screenshot
Removed "Create Organization" screenshot for consistency with the new org creation UI updates.
2020-03-12 14:23:29 -07:00
Usha Mandya c28bd02332
Release notes for Desktop Stable 2.2.0.4 (#10408)
* Release notes for Desktop Stable 2.2.0.4

* update release date and download URLs

* add note on disk image resize

* clarify disk size
2020-03-12 17:58:12 +00:00
Usha Mandya ce174ea742
DDE 2.1.0.9 release notes (#10436) 2020-03-12 17:38:49 +00:00
Usha Mandya e7df964023
Merge pull request #10433 from hochan222/patch-1
docker-compose documentation version
2020-03-12 15:30:46 +00:00
Stefan Scherer 6f31cb331c
Simplify build, invalidate cache after upload
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-12 16:06:55 +01:00
Jérémie Drouet 3b635b1996
ci: copy static files to s3 on master build
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-12 15:52:22 +01:00
Usha Mandya 6d2300a89f
Merge pull request #10435 from tiborvass/19.03.8-release-notes
engine: add release notes for 19.03.8
2020-03-12 11:00:19 +00:00
Tibor Vass 03eba805e5 engine: add release notes for 19.03.8
Signed-off-by: Tibor Vass <tibor@docker.com>
2020-03-11 20:41:57 +00:00
Usha Mandya 6d1915a928
Update links to get-started docs (#10430) 2020-03-11 09:46:54 +00:00
hochan222 43de808c91
maybe version not update
hochan@hochan-node:~/Desktop/pfc/dockercompose$ sudo docker-compose up --build
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
2020-03-11 04:37:56 +09:00
Usha Mandya fefc750abd
Update Hub support alias (#10432) 2020-03-10 18:30:43 +00:00
Traci Morrison 4c5d0807b5
Add details for March patch release (#10424) 2020-03-10 17:09:44 +00:00
Dawn-Docker Enterprise 71b66710b4
DTR release notes for March 2020 Amberjack patch release (#10425)
* DTR release notes for March 2020 Amberjack patch release

* updating dtr and ucp product versions and links to tarballs

* fixing typo

Co-authored-by: Dawn W Docker <dawn.wood@users.noreply.github.com>
2020-03-10 17:09:25 +00:00
ZakGier 1927e87890
Added missing character to example repository name (#10423) 2020-03-09 16:20:29 +00:00
scott-vsi e7eedf3b7f
fix link (#10402)
fix a link that was possibly broken by automatic text formatting/wrapping
2020-03-09 10:19:45 +00:00
Sebastiaan van Stijn 7caf4095a4
Merge pull request #10416 from pcworld/patch-2
rootless.md: Fix typo in path
2020-03-07 19:19:18 +01:00
Sebastiaan van Stijn 003015a035
Merge pull request #10417 from imba-tjd/patch-1
Chore: Fix indentation
2020-03-07 16:12:13 +01:00
谭九鼎 8bf6e38700
Chore: Fix indentation 2020-03-07 21:13:11 +08:00
pcworld e1f41c15ed
rootless.md: Fix typo in path 2020-03-06 18:47:46 +01:00
Jérémie Drouet fdd7d5bfb0
Merge pull request #10413 from jdrouet/disable-deploy-fork
fork shouldn't trigger deploy
2020-03-06 14:18:08 +01:00
Jérémie Drouet f2e1c94e9e ci: fork shouldn't trigger deploy
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-06 11:03:50 +01:00
Usha Mandya 2baaa9e2c3
Merge pull request #10406 from tiborvass/19.03.6-7-release-notes
engine: add release notes from 19.03.6 and 19.03.7
2020-03-05 18:55:08 +00:00
Tibor Vass 74c2b55bf1 engine: add release notes from 19.03.6 and 19.03.7
Signed-off-by: Tibor Vass <tibor@docker.com>
2020-03-05 18:47:37 +00:00
Sebastiaan van Stijn cb18c6c65a
Merge pull request #10374 from thaJeztah/dockerfile_fixes
Dockerfile fixes and optimisations
2020-03-04 15:02:33 +01:00
Usha Mandya 7f69c52caf
Merge pull request #10398 from docker/gh-pr-netlify
Gh pr netlify
2020-03-04 11:37:05 +00:00
Jérémie Drouet 22a6ee2479 ci: clean netlify when PR get closed or merged
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-04 09:04:57 +01:00
Usha Mandya 1404e76916
Merge pull request #10375 from thaJeztah/archive_redirects
NGINX config: add redirect rules for obsolete archive pages
2020-03-03 17:38:04 +00:00
Usha Mandya a8ec701fee
Add note on Windows Home support on Edge (#10393) 2020-03-03 16:34:49 +00:00
Takuya N a28ede6e59
Fix typos in Docker Hub Publisher docs (#10392)
https://docs.docker.com/docker-hub/publish/publish/
https://docs.docker.com/docker-hub/publish/publisher_faq/

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2020-03-03 16:19:26 +00:00
Sebastiaan van Stijn 0caed8aeb5
Remove old information about classic swarm discovery (#10391)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-03-03 16:18:08 +00:00
Jérémie Drouet 802c071377 ci: deploy static to netlify
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-03 14:33:46 +01:00
Sebastiaan van Stijn 472545f5a7
Merge pull request #10387 from StefanScherer/update-edge-for-wsl2
Download Edge version via Docker Hub
2020-03-03 12:47:18 +01:00
Stefan Scherer 66ff80399d
Download Edge version via Docker Hub
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-03 12:07:13 +01:00
Mathieu Champlon f4af5b2a44
Fix Windows URL typo (#10385) 2020-03-02 18:10:48 +00:00
Usha Mandya 222aec866f
Desktop Edge 2.2.2.0 release notes (#10345)
* Desktop Edge 2.2.2.0 release notes

* Added new relnote entries

* adding release date and download url
2020-03-02 11:44:46 +00:00
Jérémie Drouet 95652e0b3d
Merge pull request #10369 from jdrouet/gh-actions
ensure project can be built for each PR
2020-03-02 08:30:56 +01:00
Sebastiaan van Stijn 628b77dc82
NGINX config: add redirect rules for obsolete archive pages
This adds redirect rules to redirect URLs for archives that are no longer hosted
to the current documentation.

Some test scenarios below to verify:

Current docs
--------------------------------------------------------------------------------

- http://localhost:4000/engine/reference/commandline/create
    - redirects to http://localhost:4000/engine/reference/commandline/create/ (with trailing slash)
- http://localhost:4000/engine/reference/commandline/create/
- http://localhost:4000/engine/reference/commandline/create/index.html

Archived docs for current archives (e.g. v18.09):
--------------------------------------------------------------------------------

- http://localhost:4000/v18.09/engine/reference/commandline/create
  - ideally this should redirect to http://localhost:4000/v18.09/engine/reference/commandline/create/ (with trailing slash)
- http://localhost:4000/v18.09/engine/reference/commandline/create/
- http://localhost:4000/v18.09/engine/reference/commandline/create/index.html

Non-existing pages
--------------------------------------------------------------------------------

These should produce a 404 (not found)

- http://localhost:4000/no/such/page/
- http://localhost:4000/v18.09/no/such/page/
    - redirects to http://localhost:4000/no/such/page/

URLs for archived versions that are not, or no longer, published
--------------------------------------------------------------------------------
These are not found, because we don't (or no longer) publish these archive versions.
Because they start with `/vXX.XX/`, we redirect them to the same location in the
current docs. Note that the location redirected to may not (or no longer) exist,
and as such could result in another 301 redirect, or a ultimately a 404 ("not found").

Given that these should not re-appear, these redirects use a 301 (permanent). There
is one corner case; URLs for _future_ releases (e.g. `/v20.03/`) will _also_ produce
a 301, which could be cached by browsers / proxies, and effectively "block" the
URL for future use. I don't think this is very problematic, or at least not
something we should care about.

- http://localhost:4000/v17.99/engine/reference/commandline/run
    - redirects to http://localhost:4000/engine/reference/commandline/run/ in the current docs
- http://localhost:4000/v17.99/engine/reference/commandline/run/
    - redirects to http://localhost:4000/engine/reference/commandline/run/ in the current docs
- http://localhost:4000/v17.99/engine/reference/commandline/run/index.html
    - redirects to http://localhost:4000/engine/reference/commandline/run/index.html  in the current docs

Non existing pages in archive paths
--------------------------------------------------------------------------------

- http://localhost:4000/v17.03/no/such/page/
    - redirects to http://localhost:4000/no/such/page/ in the current docs
    - which shows a 404 not found page

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-02-28 15:10:24 +01:00
Sebastiaan van Stijn f0e03927c8
NGINX config: enable aio
Enable aio for better performance (see https://www.nginx.com/blog/thread-pools-boost-performance-9x/)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-02-28 15:10:22 +01:00
Sebastiaan van Stijn e73356f7cd
NGINX configuration: define "root" and "index" at server level
It's best-practice to not define these inside a "location" block
to prevent having to re-define them for each location.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-02-28 15:10:20 +01:00