Commit Graph

57193 Commits

Author SHA1 Message Date
David Scott 6a45693de1
Desktop: improve enable kubernetes section (#14593)
* desktop: no need to mention "in a docker container" for k8s

It's an implementation detail.

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

* desktop: `docker ps` rather than `docker service ls`

`docker service ls` is a Swarm API. We could use `docker container ls`
but to be honest everyone prefers `docker ps` since it's shorter.

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

* desktop: move the option that no-one needs after the screenshot

We want to emphasize how easy it is to enable and avoid telling people
about advanced features which they don't need up front.

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

* desktop: the section on kubectl is not a pre-req

It's not possible to use the docker-desktop kubernetes context because
it hasn't been created yet.

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

* desktop: merge the kubectl sections

Signed-off-by: David Scott <dave.scott@docker.com>
2022-04-22 17:54:01 +01:00
Nikhil Sharma ab445f493e
Update bind-mounts.md (#14355)
* Update bind-mounts.md

* Apply suggestions from code review

* Update storage/bind-mounts.md

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2022-04-22 11:54:28 +01:00
Carlos H Brandt 75adef65dd
Add link to Dockerfile/build reference (#12579)
* Add link to Dockerfile/build reference

This fixes #12578

* Update develop/index.md

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2022-04-22 10:42:21 +00:00
Usha Mandya d14f60a9f3
Merge pull request #12851 from fazchow/patch-1
Update django.md
2022-04-22 11:41:50 +01:00
jerae-duffin 8406a79417
Merge pull request #14581 from usha-mandya/engdocs-615
Add Publisher Center content migration docs
2022-04-21 10:27:58 -05:00
Usha Mandya 91576810ae Add Publisher Center content migration docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-04-20 19:21:42 +01:00
jerae-duffin 947a9739e6
Merge pull request #14577 from jerae-duffin/ENGDOCS-653
updated SSO
2022-04-19 18:05:25 -05:00
Jerae Duffin 56bf13438a updated SSO 2022-04-19 17:17:02 -05:00
Sebastiaan van Stijn da39579753
Merge pull request #14576 from djs55/improve-terminal-troubleshooting
troubleshooting: include the support form link in terminal section
2022-04-19 21:27:57 +02:00
Sebastiaan van Stijn 67bcbfff96
Merge pull request #14567 from craig-osterhout/ENGDOCS-649
changed into > in to where applicable
2022-04-19 21:20:29 +02:00
David Scott 46b902e20a troubleshooting: include the support form link in terminal section
When Docker Desktop doesn't start and the user runs the diagnostics from
a terminal, repeat the link to the paid support form.

Signed-off-by: David Scott <dave.scott@docker.com>
2022-04-19 20:18:45 +01: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 bf7b021a40
Merge pull request #14571 from ebriney/desktop_4.7.1
Docker Desktop 4.7.1 release notes
2022-04-19 12:17:16 +01:00
Emmanuel Briney 78a5ee464b Docker Desktop 4.7.1 release notes
Signed-off-by: Emmanuel Briney <emmanuel.briney@gmail.com>
2022-04-19 13:10:14 +02:00
craig-osterhout 5a6a528e28 changed into > in to where applicable
Signed-off-by: craig-osterhout <craig.osterhout@docker.com>
2022-04-18 09:58:31 -07:00
Allie Sadler db650b4772
Merge pull request #14548 from aevesdocker/ENGDOCS-641
Expose level 4 headings in the right-hand toc
2022-04-14 17:20:49 +01:00
Allie Sadler 77c07a6434
Merge pull request #14552 from aevesdocker/ENGDOCS-646
clarified optional step
2022-04-14 16:09:54 +01:00
Allie Sadler d008a284d4 clarified optional step 2022-04-14 13:43:40 +01:00
Allie Sadler ec5dc89d85 Expose level 4 headings in the right-hand toc 2022-04-13 14:01:58 +01:00
jerae-duffin 2acdd55e1c
Merge pull request #14543 from thaJeztah/desktop_install
desktop/mac: add missing prompt and highlighting for install
2022-04-12 14:54:37 -05:00
Sebastiaan van Stijn 3eec56de26
desktop/mac: add missing prompt and highlighting for install
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-12 20:08:20 +02:00
Allie Sadler eb8a7832b0
Merge pull request #14541 from aevesdocker/ENGDOCS-643
tweaks so users can copy and paste the code
2022-04-12 16:23:49 +01:00
Allie Sadler d91c431292 tweaks so users can copy and paste the code 2022-04-12 16:10:29 +01:00
Usha Mandya 45b520a36a
Merge pull request #14539 from thaJeztah/fix_formatting
Fix some formatting issues
2022-04-12 11:40:12 +01:00
Sebastiaan van Stijn cc62b154b8
language/java: fix code-hint to use the correct language
This block now shows java code, so changing the code-hint to make
sure it's highlighted correctly.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-12 11:56:01 +02:00
Sebastiaan van Stijn 461c6935c4
fix aligning in some output examples
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-12 11:44:41 +02:00
Usha Mandya b3be4124d1
Merge pull request #14529 from usha-mandya/sbom-patch
fix console output
2022-04-08 20:13:45 +01:00
Usha Mandya 1ffb53ee8c fix console output
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-04-08 20:05:56 +01:00
Jake Levirne ab4991f9b2
Update dev-environments.md to match dialog (#14368)
* Update dev-environments.md to match dialog

Updated to match the "Create a Dev Environment" dialog in Docker Desktop 4.5.0 (74594)

* Apply suggestions from code review

Update instructions to match the latest UI udpates

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2022-04-08 11:36:46 +01:00
Usha Mandya 3e55e4ab63
Merge pull request #14352 from giudega/updateTests
removed reference to code line
2022-04-08 11:25:28 +01:00
Usha Mandya 669f796938
Merge pull request #14463 from marcopus/patch-1
Update envvars.md
2022-04-08 10:59:23 +01:00
Usha Mandya 57def2fc5e
Merge pull request #14381 from zekicelik/master
update osx-setup-guide.md for #14380
2022-04-08 10:53:45 +01:00
Usha Mandya 7cc992a3fe
Merge pull request #14349 from giudega/master
removed reference to code line number
2022-04-08 10:53:34 +01:00
Usha Mandya 2008481b4d
Merge pull request #14363 from jonasbn/patch-1
The Alpine 3.5 image is no longer available
2022-04-08 10:47:55 +01:00
Usha Mandya d5801996a9
Merge pull request #14390 from mat007/docker-desktop-4.6.0-release-notes
Add note about CVE-2022-0847 fix being shipped by microsoft
2022-04-08 10:16:59 +01:00
Sebastiaan van Stijn 2ec61594a5
Merge pull request #14510 from Mandraenke/patch-1
added misssing "driver"
2022-04-08 00:14:35 +02:00
Sebastiaan van Stijn de0e1ed2cf
Merge pull request #14524 from halprin/patch-1
Terminate the console fix-width example for --output on the SBOM page
2022-04-08 00:13:20 +02:00
halprin 0d79d56878
Terminate the console fix-width example for --output 2022-04-07 15:57:39 -06:00
Usha Mandya 4856f29d23
Docker Desktop 4.7.0 release notes (#14505)
Signed-off-by: Emmanuel Briney <emmanuel.briney@gmail.com>
2022-04-07 16:08:48 +01:00
Chris Crone 287e23b48d
Add initial SBOM docs (#14516)
* sbom: Add initial docs

Signed-off-by: Chris Crone <christopher.crone@docker.com>

* Apply suggestions from code review

Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>

* Apply suggestions from code review

* Update engine/sbom/index.md

Add a new section for feedback

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
2022-04-07 16:00:22 +01:00
jerae-duffin 4bbe0ba6a6
Merge pull request #14511 from jerae-duffin/ENGDOCS-636
update to Hub
2022-04-07 09:59:42 -05:00
Mathieu Champlon 174fba5027
Merge pull request #14455 from mat007/add-installer-command-line-docs
DKP-118 Add Docker Desktop 4.7.0 installer command line docs
2022-04-07 15:21:06 +01:00
jerae-duffin 17f9bd3b6e
Merge pull request #14509 from jerae-duffin/ENGDOCS-618
updated domain
2022-04-07 09:17:58 -05:00
Usha Mandya 9d1b25c7e0
Merge pull request #14487 from glours/update-compose-ref-doc-2.4.0
Update compose cli documentation to version v2.4.0
2022-04-07 15:07:42 +01:00
Usha Mandya 2380c8b9df
Merge pull request #14519 from thaJeztah/update_compose_instructions
update docker-compose.yml for compose v2, and remove temporary fix
2022-04-07 15:02:16 +01:00
jerae-duffin e3260b26a1
Merge pull request #14518 from docker/christophermclellan-patch-1
RAM - change reference to link in sidebar
2022-04-07 08:59:32 -05:00
Emmanuel Briney 413a35e897 Docker Desktop 4.7.0 release notes
Signed-off-by: Emmanuel Briney <emmanuel.briney@gmail.com>
2022-04-07 15:29:15 +02:00
Sebastiaan van Stijn 324db4e44a
update docker-compose.yml for compose v2, and remove temporary fix
This updates the instructions in the docker-compose.yml to use
"docker compose" (v2) instead of "docker-compose".

Also removing a workaround for a bug in older versions of compose,
where build-args did not properly inherit their value from the
current environment. Testing this scenario on a current version
of compose shows that that problem has been resolved:

Using this compose-file:

```yaml
services:
  docs:
    build:
      args:
        - JEKYLL_ENV
      context: .
```

And this Dockerfile:

```dockerfile
ARG JEKYLL_ENV=default

FROM alpine
ARG JEKYLL_ENV
RUN echo $JEKYLL_ENV >> /result.txt
CMD cat /result.txt
```

It looks like this issue has been resolved:

Without setting the `JEKYLL_ENV` environment variable, the Dockerfile correctly uses
the default value from the Dockerfile:

```console
docker compose build
[+] Building 0.6s (6/6) FINISHED
 => [internal] load build definition from Dockerfile                                         0.1s
 => => transferring dockerfile: 31B                                                          0.0s
 => [internal] load .dockerignore                                                            0.0s
 => => transferring context: 2B                                                              0.0s
 => [internal] load metadata for docker.io/library/alpine:latest                             0.0s
 => CACHED [1/2] FROM docker.io/library/alpine                                               0.0s
 => [2/2] RUN echo default >> /result.txt                                                    0.3s
 => exporting to image                                                                       0.0s
 => => exporting layers                                                                      0.0s
 => => writing image sha256:c22cfa2355a910991d1bd4f4d83a0b9d4fad7dc73b1ea83fba05f8949e564591 0.0s
 => => naming to docker.io/library/composeenv_docs                                           0.0s

docker compose run --rm docs
default
```

And when setting `JEKYLL_ENV`, it's used to override the default in the Dockerfile:

```console
JEKYLL_ENV=production docker compose build
[+] Building 2.6s (6/6) FINISHED
 => [internal] load build definition from Dockerfile                                         0.5s
 => => transferring dockerfile: 120B                                                         0.0s
 => [internal] load .dockerignore                                                            0.4s
 => => transferring context: 2B                                                              0.0s
 => [internal] load metadata for docker.io/library/alpine:latest                             0.0s
 => [1/2] FROM docker.io/library/alpine                                                      0.0s
 => [2/2] RUN echo production >> /result.txt                                                 1.6s
 => exporting to image                                                                       0.1s
 => => exporting layers                                                                      0.1s
 => => writing image sha256:a05ca33d07d411660bd26f817a3d9201f3d7f15d198879cadc70e83e5d1f7fd5 0.0s
 => => naming to docker.io/library/composeenv_docs                                           0.0s

docker compose run --rm docs
production
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-07 12:38:44 +02:00
Chris McLellan 9729f93789
RAM - change reference to link in sidebar
* Change reference to link in sidebar
2022-04-07 11:28:33 +01:00
Allie Sadler c38f20e763
Merge pull request #14512 from aevesdocker/ENGDOCS-635
Fixed a small typo to the docker hub overview page
2022-04-06 16:31:50 +01:00