Commit Graph

73 Commits

Author SHA1 Message Date
Usha Mandya
b0022ea68e Fix a grammar issue (#13212)
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-07-21 16:16:18 +01:00
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
Usha Mandya
fe46aa5c1f Merge pull request #13142 from Sammeeey/patch-3
Adjusted sentence to make more clear what to do
2021-07-13 11:06:43 +01:00
Usha Mandya
1faeb961ad Merge pull request #13138 from Sammeeey/patch-2
Add "-dev"-suffix to new image
2021-07-13 11:03:55 +01:00
theBeginner86
3831ba50c9 typo fixed 2021-07-10 11:15:30 +05:30
Sammeeey
5ece5aa899 Adjusted sentence to make more clear what to do
ihih
2021-07-07 13:41:48 +02:00
Sammeeey
e52dfc1353 Add "-dev"-suffix to new image
I've added a "-dev"-suffix in the lines where we are working with the new python-docker image.
In this way we do not overwrite the previous one
2021-07-07 12:18:12 +02:00
Usha Mandya
a09bef6227 Merge pull request #13034 from zhengjxu/patch-1
Wrong HTTP Method type in documentation
2021-06-24 14:03:47 +01:00
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
Micael Jarniac
b07bc8ff73 Fix typos
Fixes #13053
2021-06-23 10:43:43 -03:00
Jay Xu
20b74088f4 Wrong HTTP Method type
`curl localhost:5000` is GET request, but in doc it says POST request
2021-06-19 21:24:49 -07: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
Makoto Oda
a6aeb2c34b Update develop.md (#12951)
`e` missed
2021-06-11 11:21:02 +01:00
Usha Mandya
722d9e5646 Merge pull request #12981 from dhasanbasic/patch-1
Minor fixes in the run-tests.md
2021-06-11 10:53:47 +01:00
Usha Mandya
6a50cbf45f Merge pull request #12950 from ecormaksin/patch-1
Update develop.md
2021-06-11 10:49:59 +01:00
dhasanbasic
81135b4f30 Minor fixes in the run-tests.md
Fixed line numbers in example, as two lines 57 were shown and it was not obvious which line needs to be changed.
Removed profile argument from example outputs, as the corresponding Dockerfile examples for the test image do not have it.
2021-06-09 00:23:22 +02:00
Makoto Oda
cded1572a7 Update run-containers.md
verb missed
2021-06-05 14:36:16 +09:00
Makoto Oda
e26135b7d9 Update develop.md
data volume name does not match to the following command
2021-06-04 00:12:18 +09:00
Hope Oluwalolope
d179ba05f9 Update configure-ci-cd.md
fixed a possible typo
2021-05-19 01:57:40 +01:00
unknown
383a04a6cf fix typo 2021-05-06 13:02:18 -05:00
syunwei
1c1a9a094e Added docker compose file and docker volume references into python de… (#12739)
* Added docker compose file and docker volume references into python develop.md

* Style update

Co-authored-by: Cathy Huang <my-email@example.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-05-06 07:00:16 +01:00
AJ Bovaird
496ac045d4 Fix YAML indentation for java CI/CD guide 2021-04-27 10:51:30 -04:00
AJ Bovaird
3964047c04 Fix YAML indentation for nodejs CI/CD guide 2021-04-27 10:50:45 -04:00
AJ Bovaird
0f1c5cbd60 Fix YAML indentation for python CI/CD guide 2021-04-27 10:44:40 -04:00
Usha Mandya
27b31d4758 Add Java get started guide (#12725)
* Adg Java get started guide

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Address review comments

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Fix alignment issues

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Fix style issues

Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-04-26 09:37:29 +01:00
Sebastiaan van Stijn
e22984f7d4 use Dockerfile "syntax" directive in examples
BuildKit allows using alternative Dockerfile syntaxes to introduce new features
without having to update Docker itself. The general recommendation is to always
specify a "syntax" directive in a Dockerfile, so that (if needed) older versions
of Docker can download the correct syntax to build the Dockerfile.

This updates our examples to include a syntax directive, to make users more familiar
with these directives, and to illustrate best-pracitces in our documentation.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-20 10:19:12 +02:00
Sebastiaan van Stijn
a463d3290f use primary-btn instead of outline-btn
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-13 16:34:01 +02:00
Usha Mandya
23aced92cc Merge pull request #12567 from rockyzhengwu/master
Update port numbers
2021-03-25 15:42:15 +00:00
Usha Mandya
8bf9e92a24 Update port number
Updated the port number to demonstrate connecting from a container port to a host port
2021-03-25 15:23:27 +00:00
zhengwu
8cfdf0228b doc: Typos 2021-03-25 09:14:32 +08:00
Anh Tran
8c5aeac4a3 doc: clarify the description of NodeJS guides 2021-03-24 23:59:53 +07:00
Usha Mandya
654c0e613a Merge pull request #12538 from longqua69/patch-1
doc: clarify the docs
2021-03-24 16:51:08 +00:00
Stefan Scherer
57ed6ccb21 Fix some commands to make tutorial work
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2021-03-24 15:49:28 +01:00
Matthijs Boonstra
7e1554b500 Update develop.md
Quick grammar fix: run -> runs
Set the mysql server to use the root password as used in the Flask application

Changed checking the MySQL server from using `docker run` to `docker exec` since you want to log in to the existing mysql container. Added the password as set by the previous `docker run` command.

Changed @app.route to `initdb`, the path used in later parts of the tutorial.

(cherry picked from commit 473930c972)
2021-03-24 15:36:30 +01:00
Stefan Scherer
313595cd19 Use port 5000
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2021-03-24 15:33:04 +01:00
Usha Mandya
6eddfb8e66 Merge pull request #12371 from mradamt/master
Update code snippets, typo, formatting
2021-03-24 14:28:33 +00:00
Anh Tran
0c654c5aac doc: fix typo
remove wrong comma
2021-03-21 23:12:38 +07:00
Anh Tran
1ae0ec9d48 doc: clarify the docs 2021-03-21 22:40:01 +07:00
Usha Mandya
5032901ee9 Merge pull request #12512 from markgoho/patch-1
fix username for tagged image in github actions
2021-03-19 09:30:37 +00:00
Mark Goho
7fd7b5350b remove hard-coded image owner 2021-03-18 16:45:08 -04:00
Mark Goho
42076c9a36 fix username for tagged image in github actions
the username is hardcoded, but should use the same secret from the first step
2021-03-16 14:10:19 -04:00
Whitney Wong
2973369052 Minor typo correction
Replaced `docker-python` directory reference with `python-docker` to reduce confusion when following the tutorial. The tutorial establishes creating a `python-docker` directory, so proposing this change to maintain consistency with instructions.
2021-03-14 17:38:18 -05:00
Usha Mandya
f30f4d5541 Merge pull request #12370 from t3hami/patch-2
Add .dockerignore file step in nodejs example
2021-03-11 15:15:18 +00:00
Matt Rhoads
12c794d68c Fixed typo (#12359)
Changed database reference from MongoDB to MySQL
2021-03-11 15:10:03 +00:00
Usha Mandya
4bf9708018 Merge pull request #12355 from david-szabo97/patch-2
Node.js guide: Fix syntax highlighting
2021-03-05 14:31:12 +00:00
荒野大镖客
5adb870c96 Update develop.md
the curl  address  is /initdb
2021-02-26 17:17:02 +08:00
Muhammad Tehami
ea3b63e774 Add .dockerignore file step in nodejs example 2021-02-23 13:52:57 +05:00