Commit Graph

6 Commits

Author SHA1 Message Date
Usha Mandya 56ab91a3d2
Merge pull request #13179 from theBeginner86/typos_in_language_file
Typos Fixed in the run-container.md files of language folder
2021-07-21 11:35:20 +01: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
theBeginner86 7681fec4b7 Typos fixed 2021-07-14 02:01:27 +05:30
jerae-duffin 0c958d9807
Revised Content (#13031)
Updated content

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-06-23 15:32:46 +01:00
Usha Mandya edbe0b6951 Add a note of acknowledgment
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-06-14 16:05:18 +01: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