Commit Graph

52 Commits

Author SHA1 Message Date
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
Adam Tyler f7a1fcb594 Update code snippets, typo, formatting 2021-02-22 19:20:56 -08:00
Dávid Szabó e122a11c55
Fix syntax highlighting 2021-02-18 22:26:49 +01:00
Dávid Szabó 5add977c71
Fix syntax highlighting 2021-02-18 22:23:46 +01:00
Dávid Szabó a5c80cc3ee
Fix volume mismatch 2021-02-18 22:10:46 +01:00
Usha Mandya 62fb3155ca
Merge pull request #12218 from matt-continuousdelta/patch-2
Clarify instructions
2021-02-17 14:05:37 +00:00
Usha Mandya 2ab01b6757 Clarify the request for guides info
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-02-10 10:21:35 +00:00
Usha Mandya 856c5e871e Fix broken links
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-02-09 12:46:39 +00:00
uigctaw 1cefb43b7b
Getting started python fixes (#12217)
* Fix CMD arguments

The previous CMD command doesn't actually start the service.

* Simplify (and fix) curl command

Previously it was specifying a lot of parameters that in our case are optional and IMO don't help with understanding what's going on.
Furthermore the previous command was asking for a `/test` page which we do not serve.
And finally it was using POST which is not supported in our app created in the previous step.

* Fix typo
2021-02-05 16:03:47 +00:00
Matthew McClure f7a25beac4
Reduce inconsistencies with previous step
Adapt instructions so that the process follows more naturally from the previous step.
2021-02-01 15:12:41 -05:00
Matthew McClure 1be59f2fcc
Update develop.md
* Eliminate unnecessary URL path parts.
* Preserve mock endpoints because it's unnecessary to remove them.
2021-02-01 13:33:38 -05:00
Matthew McClure 6bfb54843c
Clarify instructions
* Eliminate unnecessary port change.
* Clarify code change and breakpoint location.
2021-01-31 19:31:41 -05:00
Usha Mandya 4b828eeaed Update links and remove extra spaces
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-29 17:09:03 +00:00
Usha Mandya c23d1daf63
Add Python get started docs (#12184)
* Add Python get started docs

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

* Address Anca's review comments

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

* Update pip to pip3

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

* Update pip freeze to pip3 freeze

Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-28 17:46:36 +00:00
Usha Mandya 3f3d506be4 Fix metadata in Nodejs docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-26 16:04:49 +00:00
Usha Mandya 5ec3a64fa2
Minor update 2021-01-25 19:21:22 +00:00
Norah H e7085f77be
Update develop.md
Remove duplicated instructions in the nodemon installation step and add an instruction for npm install command.
2021-01-23 09:52:46 +09:00
Usha Mandya 348df664f9 Fix a typo in the feedback URL
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-19 18:54:20 +00:00
Usha Mandya 92b50927ea Add steps to start app in debug mode
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-19 10:50:28 +00:00
Usha Mandya 958dea68c0 Add step to install Mocha test framework
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-18 18:44:16 +00:00
Usha Mandya d9fa2c32de Add missing steps on editing the json file
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-18 15:55:23 +00:00
Usha Mandya 7b070a40e2 Fix review comments from Stefan
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-18 15:23:45 +00:00