Commit Graph

528 Commits

Author SHA1 Message Date
Antony Santhiago
4dfd5c6642 Fix: remove unsupported Font Awesome icons from toggle theme (#15381) 2022-08-16 10:12:50 +01:00
Gavin
52becc3143 Add release notes for 4.11.1 (#15316) 2022-08-05 12:25:35 +01:00
CrazyMax
09c9f51bcf remove most of absolute urls
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-03 11:50:33 +02:00
Usha Mandya
dfa7fc3b8e Merge pull request #15227 from jedevc/linting-fixup
Fix linting 🎉
2022-08-02 17:35:10 +01:00
Gavin
885c3dc039 DKP-248: Add release notes for 4.11.0 (#15212)
* Add release notes for 4.11.0

* Fixes from review

* Update desktop/release-notes.md

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
2022-07-28 16:10:00 +01:00
Sebastiaan van Stijn
2b11a64a6a Merge pull request #15235 from crazy-max/footer-current-year
dynamic current year in footer
2022-07-28 13:46:05 +02:00
Justin Chadwell
4ff46f1e45 lint: header spacing rules 2022-07-28 11:27:10 +01:00
CrazyMax
09758736bf dynamic current year in footer
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-28 10:59:14 +02:00
Sebastiaan van Stijn
60c89b306f fix instructions for registry.json
The previous instructions fixed situations where the directory
and file didn't exist, but had some issues remaining;

The `>>` _appends_ the content to the file; this would work if the file didn't
exist (before `touch`'ing it) but if there happened to be a file already, it
would append the content to the existing file, resulting in invalid JSON.

e.g. running it twice (which may be accidentally);

```bash
sudo echo '{"allowedOrgs":["myorg"]}' >> "/Library/Application Support/com.docker.docker/registry.json"
sudo echo '{"allowedOrgs":["myorg"]}' >> "/Library/Application Support/com.docker.docker/registry.json"
```

Would result in;

```bash
sudo cat "/Library/Application Support/com.docker.docker/registry.json"
{"allowedOrgs":["myorg"]}
{"allowedOrgs":["myorg"]}
```

(which is invalid JSON)

The `sudo echo` also had some issues; the `sudo` only applied to the `echo`, and
not to the piped output (see https://unix.stackexchange.com/questions/1416/redirecting-stdout-to-a-file-you-dont-have-write-permission-on);

```bash
$ sudo touch "/Library/Application Support/com.docker.docker/registry.json"
$ sudo echo '{"allowedOrgs":["myorg"]}' > "/Library/Application Support/com.docker.docker/registry.json"
bash: /Library/Application Support/com.docker.docker/registry.json: Permission denied
```

Instead, using `tee` to run as privileged process, similar to the approach taken
in c33d39a7ba/engine/install/debian.md (L106)

With that, the `touch` wouldn't be needed (the `mkdir` still would though);

```suggestion
$ sudo mkdir -p "/Library/Application Support/com.docker.docker"
$ echo '{"allowedOrgs":["myorg"]}' | sudo tee "/Library/Application Support/com.docker.docker/registry.json"
```

The new instructions will always overwrite the content with the new content,
replacing what's already there (that may need a small warning / note though) to
prevent the invalid JSON if someone runs the command multiple times, or if they
have to update the existing config with a new one.

Finally, some verification steps were added to verify content and permissions.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-07-27 22:22:18 +02:00
Craig Osterhout
d306f6c19d add quotes around directory with spaces (#15215) 2022-07-27 13:03:44 -07:00
CrazyMax
dbc6423592 jekyll(css): fix social icons
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-27 20:18:21 +02:00
CrazyMax
fba31604bd Merge pull request #15223 from crazy-max/note-experimental
jekyll(css): add experimental note
2022-07-27 16:07:42 +02:00
CrazyMax
b672b2894a jekyll(assets): update font awesome to 6.1.2
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-27 16:03:02 +02:00
CrazyMax
863b227043 jekyll: keep paragraph of reading time and use include
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-27 13:02:49 +02:00
CrazyMax
ef40cfffc3 allow search engines from crawling only on production
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-19 14:11:46 +02:00
Allie Sadler
38fec0d159 Engdocs 802b (#15108)
* moved install pages

* moved images

* update toc

* add redirects

* ammend page links

* fix broken links

* fix broken links

* fix broken links

* fix broken links
2022-07-13 10:41:56 +01:00
Allie Sadler
7e17cb37a5 DKP-91 add checksums to release notes (#15077)
* add checksums to release notes

* added checksums

* review comments

* faqs update

* add SHA-256

* test

* add review comments
2022-07-08 08:50:16 +01:00
Allie Sadler
0ad6e2e132 fix broken link in banner 2022-07-05 15:22:42 +01:00
Allie Sadler
9e51cfece2 fix broken link in banner 2022-07-05 15:12:17 +01:00
Allie Sadler
d9db26dfae extensions banner (#15056)
* extensions banner

* typo fix

* typo fix

* typo fix
2022-07-05 11:28:20 +01:00
Craig Osterhout
2e14be9598 restructured configure-registry-json (#14884)
* restructured configure-registry-json
2022-06-22 10:20:43 -07:00
Jerae Duffin
82012ed418 updated dockercon 2022-05-17 14:42:46 -05:00
Mark H
9afb3bc05b Update text to reflect end of grace period (#14712)
* Update text to reflect end of grace period

* Revert changes to release notes

* Remove references to the grace period
2022-05-12 12:44:03 +01:00
Usha Mandya
bbc55b89ec Merge pull request #14641 from thaJeztah/reference_layout
updates to command-line reference layout
2022-05-11 09:57:36 +01:00
Anca Iordache
bc4fb3e636 Prepare DDL docs for GA (#14648)
* Prepare doc pages for DDL GA release

  - Add DDL screenshots

Signed-off-by: Anca Iordache <anca.iordache@docker.com>

* Menu entries for DDL

Signed-off-by: Anca Iordache <anca.iordache@docker.com>

* update installation instructions

Signed-off-by: Anca Iordache <anca.iordache@docker.com>

* Update download links

Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2022-05-06 10:12:15 +01:00
Sebastiaan van Stijn
b02580bd21 reference: update description for experimental cli features
Experimental CLI features are enabled by default since docker 20.10, so the
instructions for enabling the features were no longer needed. Also tweaked the
description a bit to align how we describe experimental features elsewhere.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-02 11:24:39 +02:00
Sebastiaan van Stijn
d468e10c68 reference: hide "minimum API version" badges for old versions
The reference pages show badges for commands and options (flags) that require
a minimum API version. While this information can be useful if an option was
added in a recent version of the Docker Engine (and API), these badges are no
longer relevant to most users if the minimum required version is quite "old".

We assume users reading these pages to be on the current version, or at most
on the version before that (which is already "unsupported"). Users running
older versions have bigger problems on their hand, so we're not accounting for
those.

So, to reduce unnecessary clutter on the page, we only show the minimum required
API version if it requires a relatively recent version of the Engine.

A new "min_api_threshold" option was added in the `_config.yml`, which specifies
the minimum required API version for which we show a badge (currently: API v1.40,
or "Docker 19.03").

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-30 19:10:05 +02:00
Sebastiaan van Stijn
27355f688d reference: omit "parent command" section for "docker"
The "parent command" can be useful if the page describes a subcommand,
but generally having a link to `docker` may not provide much value.

This patch omits the "parent command" section if the parent command
is the `docker` command itself.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-30 17:16:57 +02:00
Sebastiaan van Stijn
a984ba10af reference: re-format markdown table in source
Should make no change in the rendered output, but my IDE didn't like
it not being well-formed :D

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-30 17:10:46 +02:00
Sebastiaan van Stijn
0ea7f3de72 reference: fix title on API version badges
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-30 17:08:22 +02:00
Sebastiaan van Stijn
144c8b1f8f reference: remove "description" header, and use it for "extended description"
The "description" header included the short description of each command. In most
cases, this description was very short ("run a container"), and adding the extra
header before it only was adding extra noise.

This patch:

- removes the top "description" header
- renames the existing "extended description" header to "description" (a hidden
  "extended-description" anchor is added for backward compatibility)

As the extended description can be long (hopefully!), there may be a long distance
between the `Usage` section and the `Options` section. To help users navigate
to the list of available options, an extra line is printed if an extended
description is available for the command, including a link to the corresponding
section:

> Refer to the options section for an overview of available OPTIONS for this command.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-30 17:05:46 +02:00
Sebastiaan van Stijn
67f15b4e19 reference: remove "enterprise_only" condition
This metadata condition was used for features that were only available
on Docker Enterprise Edition ("Docker EE"), and is no longer used.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-30 16:08:57 +02:00
Jerae Duffin
46097dd2a8 updated registry.json 2022-04-27 07:24:05 -05:00
jerae-duffin
66bc6c643e updated registry.json (#14551)
* updated registry.json

* updated install info

* fix some formatting issues for registry.json instructions

- use `console` blocks for command-line examples
- use different prompts for "powershell" and "non-powershell" examples
- fix path of registry.json on macOS
- wrap some of the lines to ~80 chars

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-19 11:48:01 -05:00
Usha Mandya
e67238205e Update the Docs homepage banner
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-04-06 16:08:51 +01:00
Sebastiaan van Stijn
07ba341736 IAM: fix missing prompt, causing code to not be selectable
This code-block uses the "console" highlighting, which considers lines that do
not start with a prompt to be "output" of the command, and non-selectable.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-31 22:28:12 +02:00
Usha Mandya
cd3d36e982 Add banner on community all hands
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-03-04 18:47:58 +00:00
Usha Mandya
a166dc017d Add includes file for registry.json config
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-02-25 16:05:48 +00:00
Usha Mandya
36c1684013 Desktop 4.2 docs updates
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-11-03 10:22:34 +00:00
Usha Mandya
730c55a975 Merge pull request #13705 from usha-mandya/docs-cta-patch2
Add the next set of CTAs
2021-10-15 18:27:50 +01:00
Usha Mandya
c5f38d8b3b Add the next set of CTAs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-10-15 18:06:39 +01:00
Usha Mandya
b1008663c1 Add 4.1 to homepage banner
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-10-15 17:47:58 +01:00
Peter Dave Hello
ed135fe151 Update most links to use https by default
Reference:

- #11640
- d405b17ca2

Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
2021-10-12 15:45:57 +08:00
Usha Mandya
79b42df1d0 Merge pull request #13625 from usha-mandya/engdocs-498
Add homepage banner for volume management
2021-09-30 16:45:35 +01:00
Usha Mandya
2dbc67066e Add homepage banner for volume management
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-09-30 16:18:01 +01:00
Usha Mandya
f3ac31267f Docs for Desktop update improvements
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-09-29 18:46:38 +01:00
jerae-duffin
423f6d58b2 Merge pull request #13596 from usha-mandya/desktop-license-banner
Add note on subscription changes to DD overview, clean up a couple of…
2021-09-24 13:29:10 -05:00
Usha Mandya
28553c0e86 Add note on subscription changes to DD overview, clean up a couple of other topics related to subscription updates
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-09-24 19:14:20 +01:00
Usha Mandya
01a6d5d55f Update scan CTA
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-09-24 11:46:04 +01:00
Usha Mandya
a9d5c1ae7b Update Docs footer
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-09-14 16:58:46 +01:00