Commit Graph

44 Commits

Author SHA1 Message Date
Stefan Scherer
bcc2a90f52 Use host port 8000 to avoid conflicts on Monterey
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2022-02-09 13:05:34 +01:00
Rayed Bin Wahed
122645e717 Update develop.md
Accidental subject-verb agreement error. Made the verb singular to agree with the singular subject Docker.
2022-02-02 12:00:38 +08:00
Kyle Martin
57b5a647ad Very minor style update to included sample Python
Inconsequential and trivial change to ensure code in tutorial is consistently styled.
2021-12-27 19:20:04 -07:00
Dan Bamikiya
2452b40e9a Remove usage of outdated GHCR_TOKEN (#13710)
* Remove usage of outdated GHCR_TOKEN

* Prefer {{ github.actor }} over {{ github.repository_owner }}

* Update language/java/configure-ci-cd.md with note about GITHUB_TOKEN

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>

* Update language/nodejs/configure-ci-cd.md with note about GITHUB_TOKEN

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>

* Update language/python/configure-ci-cd.md with note about GITHUB_TOKEN

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-11-26 12:38:53 +00:00
Usha Mandya
9a4eb3a8a6 Merge pull request #13507 from idjaw/update-docs-pip-freeze
Improves how requirements.txt is managed in Python tutorial #13506
2021-10-04 10:06:09 +01:00
Stan Manilov
3e5032813f Remove outdated sentence
The output following the sentence no longer contains what the sentence
claims.
2021-09-16 22:18:57 +03:00
Wajdi Al-Hawari
a9a8311643 Improves how requirements.txt is created
- To reduce the error prone process of grabbing all Python packages in the global Python scope, the specific package is extracted and set in to the requirements.txt file
2021-09-11 16:30:23 -04:00
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
74460241f8 language/python: 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:20:00 +02:00
Usha Mandya
d7bd7353b3 Add K8s to the deploy app section
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-03 14:20:27 +01:00
Nahin Khan
fb0f050656 Update configure-ci-cd.md 2021-07-30 03:26:34 +03:00
Usha Mandya
b1674e814e Update get started docs to use BuildKit for building images
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-07-23 12:06:18 +01:00
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
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
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
0f1c5cbd60 Fix YAML indentation for python CI/CD guide 2021-04-27 10:44:40 -04: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
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
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
Mark Goho
7fd7b5350b remove hard-coded image owner 2021-03-18 16:45:08 -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
Matt Rhoads
12c794d68c Fixed typo (#12359)
Changed database reference from MongoDB to MySQL
2021-03-11 15:10:03 +00:00
荒野大镖客
5adb870c96 Update develop.md
the curl  address  is /initdb
2021-02-26 17:17:02 +08:00
Adam Tyler
f7a1fcb594 Update code snippets, typo, formatting 2021-02-22 19:20:56 -08: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
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
ba395bed07 Add reference architecture docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-01-18 12:07:55 +00:00