Commit Graph

56360 Commits

Author SHA1 Message Date
Sebastiaan van Stijn 304f64ccec
engine: update reference docs with "console" code hints
Also updates in the descriptions for `--stop-signal` and `--stop-timeout`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-21 18:34:30 +02:00
Usha Mandya 20f2ef5869
Merge pull request #13382 from thaJeztah/go_wsl2
Add /go/wsl2/ redirect
2021-08-20 14:28:34 +01:00
Sebastiaan van Stijn 4d3d4c0520
Add /go/wsl2/ redirect
Docker Desktop uses an informational message that prints:

    We recommend to activate the WSL integration in Docker Desktop settings.

    See https://docs.docker.com/desktop/windows/wsl/ for details.

We see quite some users trying to copy the URL, and accidentally copying part
of the text, which results in a 404;
https://github.com/docker/docker.github.io/issues?q=in%3Atitle+%2Fdocker-for-windows%2Fwsl%2Ffor%2520details+

I'm changing the message to have the URL on a separate line for easier copying,
but having a shorter URL would make it slightly easier for users to type it in
their browser, without having to copy it.

This adds a new URL https://docs.docker.com/go/wsl2/ that we can redirect to
the most appropriate location within the docs, without having to update the
URL in Docker Desktop itself.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-20 14:10:39 +02:00
Usha Mandya 229af5a5d1
Merge pull request #13369 from thaJeztah/example_tooltips
Add tooltips and links to reference docs to Dockerfile codeblocks
2021-08-19 09:47:46 +01:00
Usha Mandya 21b14f550a
Merge pull request #13375 from usha-mandya/engdocs-474
Update Docker official images and DVPP references
2021-08-19 09:46:32 +01:00
Usha Mandya b3e792e495 Update Docker official images and DVPP references
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-19 00:01:01 +01:00
Sebastiaan van Stijn bfce18c90b
Add tooltips and links to reference docs to Dockerfile codeblocks
This is an initial "experiment" on making codeblocks more useful; it's
just a quick implementation, and can use a lot of improvements, but we
can see if it's useful in its current form already (as a starting point).

More context below:

With example blocks being parsed/highlighted by rouge, we should be able
to pick keywords from them; for example, in the highlighted Dockerfile
examples, we can show tool-tips (even a hover-card) with more details
about the command.

Shell examples may be a bit more involved, but we could still detect;

- adjacent keywords (`docker` + `run` => `docker run`)
- with the yaml-docs we have (we could generate JSON and upload them
  as a "database"),   we could even do an AJAX call to dynamically
  fetch  flag  descriptions, etc.

This very quick and dirty test adds tooltips to Dockerfile commands
in examples. When hovering, it shoulds a tooltip ("click for  more
information about this command"), and when clicking, navigates to the
Dockerfile reference.

Ideally, we wouldn't navigate away from the current page for initial
details (instead, we should present a rich hoverbox / pane), to provide
the user with more details without interrupting the article they were
reading.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-18 23:23:09 +02:00
Usha Mandya 62d0daa0e3
Merge pull request #13370 from thaJeztah/fix_get_started_highlighting
fix code-highlighting in "get started"
2021-08-18 10:35:44 +01:00
Sebastiaan van Stijn b724f2c44d
fix code-highlighting in "get started"
Indentation in some bullet-lists had one space too little, causing
code-highlighting to not work.

Also fixed some other minor issues.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-17 22:20:21 +02:00
Usha Mandya d382746653
Merge pull request #13366 from thaJeztah/cleanup_nav_styles
_scss: cleanup navigation styles, and various small fixes
2021-08-17 15:43:53 +01:00
Sebastiaan van Stijn e632cdf1f6
Merge pull request #13368 from usha-mandya/win-troubleshoot-patch
Delete extra space
2021-08-17 15:22:29 +02:00
Usha Mandya d83977c53c Delete extra space
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-17 14:11:39 +01:00
Sebastiaan van Stijn 3631769979
_scss: cleanup navigation styles
This fixes various inconsistencies between the landing page and the
other pages by sharing more styles between both:

- fix homepage using a different color for the active tab
- fix homepage not having "hover" styles for the top navigation

I addition, this:

- fixes unwanted whitespace in the hamburger-menu on mobile
- fixes "active" menu item not being highlighted on mobile
- fixes left-side aligning of left-hand menu on desktop

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-17 14:00:46 +02:00
Frédéric Dalleau c1416c35ce
Document path conversion on Windows (#13331)
* Document path conversion on Windows

* Minor formatting and style updates

* desktop/windows: minor fixes in troubleshoot

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-08-17 12:03:20 +01:00
Usha Mandya 4183116517
Merge pull request #13363 from usha-mandya/desktop-relnotes-fix
Fix download buttons for older versions of Docker Desktop for Mac
2021-08-17 11:59:34 +01:00
Usha Mandya ed6dee7d99 Fix download buttons for older Mac releases
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-17 11:38:11 +01:00
Usha Mandya a6e5434600
Merge pull request #13351 from thaJeztah/update_dd_releasenotes
Desktop: release notes: mention kernel update and performance fix
2021-08-16 12:16:33 +01:00
Usha Mandya 00bbe69666
Merge pull request #13352 from thaJeztah/add_missing_codehints
Add missing code-hints, and minor markdown edits
2021-08-16 12:15:19 +01:00
Sebastiaan van Stijn 4cae2337b4
Desktop: release notes: mention kernel update and performance fix
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-16 13:11:45 +02: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
kurama f4655fb89e
fix: typo (#13348)
* fix: typo

* Minor style updates

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-08-16 11:57:31 +01:00
Usha Mandya f6a4b3ed24
Merge pull request #13353 from thaJeztah/unify_desktops
Move "docker-for-windows" and "docker-for-mac" inside the "desktop" directory
2021-08-16 11:57:06 +01:00
jerae-duffin 6885bb0140
updated upgrade your plan (#13347)
* updated upgrade your plan

* Moved the purchase plan section before upgrade

Added an intro to the topic, reorganized the topic to display info on how to purchase a plan before we discuss how to upgrade an existing plan

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-08-16 11:42:29 +01:00
Sebastiaan van Stijn 346a066b68
Desktop: move "docker-for-windows" to "desktop/windows"
Unifying all content related to Docker Desktop to be withing the desktop
directory.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-14 13:28:15 +02:00
Sebastiaan van Stijn d0bf342e52
Desktop: move "docker-for-mac" to "desktop/mac"
Unifying all content related to Docker Desktop to be withing the desktop
directory.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-14 13:07:41 +02:00
Usha Mandya d3dcf610e8
Merge pull request #13341 from danielhelfand/patch-1
Fix broken link for setting up local registry with auth
2021-08-13 18:24:41 +01:00
Usha Mandya 8c01cd8d0b
Merge pull request #13345 from usha-mandya/3.6-win-link-fix
Fix a link in DD Windows release notes
2021-08-13 17:15:36 +01:00
Usha Mandya f2132e9138 Fix a link in DD Windows relnotes
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-13 17:07:43 +01:00
Daniel Helfand d5a7305811
fix broken link for setting up local registry with auth 2021-08-12 11:56:31 -05:00
Sebastiaan van Stijn 568e1eea79
Merge pull request #13304 from Forst/patch-1
Release notes: fix incorrect header level for 20.10.8 Swarm
2021-08-12 17:42:50 +02:00
Sebastiaan van Stijn 770610fe0d
Merge pull request #13339 from usha-mandya/engdocs-472
Move subscription docs
2021-08-12 17:33:41 +02:00
Usha Mandya bf844f81ac Move subscription docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-12 16:18:55 +01:00
Sebastiaan van Stijn 72d4492172
Merge pull request #13336 from usha-mandya/homepage-banner-patch
Clean up the homepage banners
2021-08-12 11:53:57 +02:00
Usha Mandya 3d9265a041 Clean up the homepage banners
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-12 10:38:26 +01:00
Sebastiaan van Stijn 37afe5b403
Merge pull request #13332 from usha-mandya/desktop-36-fixes
Fix some minor updates in Desktop 3.6 docs
2021-08-11 22:40:16 +02:00
Usha Mandya e71f63d2f9 Fix some minor updates in Desktop 3.6 docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-11 21:31:19 +01:00
Usha Mandya 2e6fc9c9ed
Merge pull request #13329 from thaJeztah/go_deprecated
Add "go" redirect for deprecated engine features
2021-08-11 17:47:51 +01:00
Usha Mandya b51633c5af
Merge pull request #13314 from rumpl/devenv_local_folder
Devenv local folder
2021-08-11 17:37:07 +01:00
Usha Mandya 0500177b89
Merge pull request #13328 from docker/revert-13216-revert-13200-IL-25-disable-hardware-acceleration
Disable hardware acceleration option
2021-08-11 17:36:12 +01:00
Ulysses Souza 46dad91f74
Release notes on Docker Desktop 3.6.0 (#13321)
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-08-11 17:35:55 +01:00
David Scott b9cb50197e
desktop: advertise experimental "self-diagnose" tool in 3.6.0 (#13326)
* desktop: advertise experimental "self-diagnose" tool in 3.6.0

Signed-off-by: David Scott <dave.scott@docker.com>

* Update docker-for-mac/troubleshoot.md

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>

* Update docker-for-windows/troubleshoot.md

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>

* desktop: ask for feedback on self-diagnose in for-mac/for-win

Signed-off-by: David Scott <dave.scott@docker.com>

* Update docker-for-mac/troubleshoot.md

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>

* Update docker-for-windows/troubleshoot.md

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-08-11 17:35:22 +01:00
Usha Mandya b2625fab82
Merge pull request #13315 from usha-mandya/engdocs-451
Add docs for Volumes UI updates
2021-08-11 17:35:01 +01:00
Usha Mandya 24d3ec48dd
Merge pull request #13318 from usha-mandya/engdocs-466
Update Compose v2 docs
2021-08-11 17:34:47 +01:00
Sebastiaan van Stijn 99d00a010b
Add "go" redirect for deprecated engine features
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-11 18:33:14 +02:00
Usha Mandya 93d8d89d44
Revert "Revert "Disable hardware acceleration option"" 2021-08-11 15:13:30 +01:00
Usha Mandya fffaf2d771
Merge pull request #13327 from usha-mandya/faq-link-patch
Fix a typo in the URL
2021-08-11 14:24:33 +01:00
Usha Mandya ecb5f5068b Fix a typo in the URL
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-11 11:47:23 +01:00
Usha Mandya 0f7b1f872b Add docs for Volumes UI updates
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-10 23:36:25 +01:00
Usha Mandya 2ec0562f7f
Merge pull request #13322 from usha-mandya/engdocs-467
Move billing docs one level up and rename billing to subscription
2021-08-10 18:09:31 +01:00
Usha Mandya 32dee2df8d Move billing docs one level up and rename billing to subscription
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-10 16:37:32 +01:00