Commit Graph

24 Commits

Author SHA1 Message Date
Craig Osterhout 194131d3ed
Update go guide repos
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-06-07 12:13:17 -07:00
Craig Osterhout 5e81075d93
update button style (#17045) 2023-04-12 14:38:30 -07:00
John Bampton b3efa5a257
docs(whitespace): standardize `CMD` example commands (#17033) 2023-04-06 08:56:38 -07:00
Oliver Frolovs 25738b74b5
Update Golang section to 1.19 (PR 1 of 2) (#16867)
* Update index and build parts of Golang to v1.19

* Update Golang to 1.19 in the first of the two sample apps
2023-04-05 11:28:56 -07:00
David Karlsson c0402932ca scout: add docs for docker scout hub and cli
- add: new docker scout section
- add: advanced image analysis
- add: scout artifactory integration
- add: image details view
- add: docker scout cli reference
- change: hub vulnerability scanning
- change: security best practices (previously /develop/scan-images)
- change: prune references to docker scan
- deprecate: docker scan
- remove: atomist section
2023-02-24 15:25:56 +01:00
David Karlsson bad2be0b64
build: tidy 'develop' section in guides (#16196)
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2022-11-23 16:53:04 +01:00
Craig Osterhout da7b60072d
[ENGDOCS-1012] Get started refresh part 1 & 2 (#15965)
* get started refresh part 1 and 2
2022-10-27 15:32:47 -07:00
CrazyMax 2bac3f3b6c
build: merge dockerfile creation page in build section
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-25 19:46:23 +02:00
CrazyMax 561118ec5b
rename docs repository
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-29 11:07:53 +02:00
CrazyMax d775c8a6bf
build: multi-stage builds
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-15 13:37:37 +02:00
CrazyMax 02d195dcb7
Merge pull request #15276 from crazy-max/rm-absolute-links
remove most of absolute urls
2022-08-03 12:30:39 +02: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
Roberto Villarreal ad96551b60
Fix spelling mistake in golang docs (#15305) 2022-08-03 10:15:28 +01:00
Justin Chadwell 749d27b40d lint: tidy up consistent header styles 2022-07-28 11:27:10 +01:00
CrazyMax 2482f8ce04
Remove unneeded <br> HTML tags
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-14 19:54:47 +02:00
Sebastiaan van Stijn d7e9ac275f
Some touch-ups in language get-started
- wrap lines in the java and golang getting started
- make the "test on the host" step in the Java getting started "optional". This
  allows users to try the tutorial without requiring them to set up a functional
  Java environment on their host. (i'm planning on making similar changes in
  the other language guides).
- use `docker <object> <action>` in some examples (but mention the corresponding
  shorthands); this may help understand the relation between the `<action>` and
  what kind of `<object>` we're acting on (tag an _image_, remove an _image_).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-13 16:30:58 +02:00
Sebastiaan van Stijn 60709ed648
Merge pull request #13423 from arvind-007/patch-1
Update build-images.md
2021-08-27 16:05:39 +02:00
arvind-007 23b029e358
Update build-images.md 2021-08-27 15:27:55 +05:30
Sebastiaan van Stijn d1fbf5c959
guides: use include for "create a Dockerfile" sections
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-25 13:42:32 +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
Sebastiaan van Stijn 0ceace875d
language/golang: use "console" for shell examples
This allows for easier copying of the commands, without selecting the
prompt.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-06 17:19:58 +02:00
Sebastiaan van Stijn 7e9fdf93fe
language/golang: fix some broken links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-06 11:52:13 +02:00
Sebastiaan van Stijn 5011f61213
Fix Dockerfile COPY/ADD examples without a trailing slash
When copying files to a destination directory, the classic builder requires
the destination to have a trailing slash (to indicate the target is a _directory_.
not a filename). BuildKit is a bit more flexible in this, and will assume the
target is a directory, but users following the example with buildkit disabled
might see an error message, e.g.:

    Sending build context to Docker daemon  3.072kB
    Step 1/2 : FROM busybox
     ---> 69593048aa3a
    Step 2/2 : COPY *.go .
    When using COPY with more than one source file, the destination must be a directory and end with a /

It doesn't hurt to be explicit, so this patch updates some examples to prevent
this.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-21 12:03:31 +02:00
Oliver Frolovs 902646428b
Add first half of Getting Started for Golang (#12168)
Add Golang get started guide

Signed-off-by: Oliver Frolovs <oliver@frolovs.me>
2021-06-14 13:28:14 +01:00