Commit Graph

71 Commits

Author SHA1 Message Date
Stuzanna 2670723799
Updated mysql output to 2023 version 2023-05-27 09:51:09 +01:00
Younes Chouikh 014b05a91e
Update develop.md (#17383)
Executing "USE inventory" query instead of closing and connecting again
2023-05-23 13:10:59 -07:00
John Bampton b3efa5a257
docs(whitespace): standardize `CMD` example commands (#17033) 2023-04-06 08:56:38 -07:00
Chris Chinchilla 94ebfc43a4
Update language/python/build-images.md
Co-authored-by: Craig Osterhout <103533812+craig-osterhout@users.noreply.github.com>
2023-03-13 15:01:27 +01:00
Chris Chinchilla 29d1f4dc94 Review for freshness and to check reported errors 2023-03-13 12:25:26 +01:00
Nghiauet e5df3a3799
Correct docker compose command (error with "-") (#16426)
I already removed it
2023-01-04 13:54:11 +00: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
David Karlsson f636cc21d3 build: reworked ci/gha docs
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2022-11-03 16:16:40 +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 271f8c3de5
build: merge build enhancements page in build section
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-25 19:46:23 +02:00
Pedram Ashofteh-Ardakani 678d56c1e2
Docs: update sample application initiation in venv (#15506)
* Docs: update sample application initiation in venv

Until now, readers would install 'Flask' on their main system
python environment, freeze their entire packages, and grep only
the 'Flask' package! So they would be missing all the other
dependencies in their requirements file.

With this commit, a better practice is followed. First, create a
clean virtual environment, then install 'Flask' and freeze
everything into the requirements file.

Also, I recommend using 'python3 -m pip freeze' instead of 'pip3
freeze' while in the virtual environment. This is because
sometimes hidden quirks of 'pip' will ignore the actiavted
environment and freeze the entire python packages in the
system (e.g. in ArchLinux).

* Docs: update python sample testing application

In the previous commit, I forgot to update the 'Test the
application' section so that the users activate the virtual
environment first.

This commit fixes that.

Co-authored-by: Stefan Scherer <stefan.scherer@docker.com>
2022-10-21 14:47:24 -07:00
Micael Jarniac 3a2e9e38b6
Typo fixes (#15895) 2022-10-18 09:24:23 +02:00
Akira Aso eaa8a0748b
Refine a paragraph of docker ps in Go and Python (#15873)
* Refine a paragraph of docker ps in Go and Python

* Fix typo in paragraphs about the docker ps command
2022-10-17 09:27:22 -07:00
Craig Osterhout 217166a8d8
add reminder to stop containers (#15868) 2022-10-14 09:50:22 -07:00
Craig Osterhout 912608daad
removing debugging references (#15863) 2022-10-13 08:55:25 -07:00
Daniel Schroeder 2706acd2ec
Update develop.md (#15829)
There is no logic in that Flask app to save widgets, so I reworded the two sentences that referenced saving widgets. 

There are two routes:
1. `/widgets` -> Gets all the rows from the `widgets` table
2. `/initdb` -> Drops the DB/Table and rebuilds them from scratch
2022-10-11 14:14:12 -07:00
Daniel Schroeder add70f8a4b
Format `docker build` as a code sample (#15808)
To stay consistent with other uses in the docs, it would make sense for `docker build` to be formatted as code here.
2022-10-05 13:26:31 +00:00
Daniel Schroeder 361c88ae9f
Update wording around removing a container (#15809)
The original used "simple" instead of "simply". I edited the sentence a bit more to make it read clearer and removed that word altogether.
2022-10-05 13:26:04 +00:00
meni181818 a7a9824350
python indentation 4 spaces according to PEP8 (#15129)
* python indetation 4 spaces acording to PEP8

* docker-compose example networking explanation

exlpain why no need to connect the 2 containers to a network
2022-09-30 09:22:56 +00:00
CrazyMax 561118ec5b
rename docs repository
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-29 11:07:53 +02:00
Craig Osterhout cf480fae08
rename branch and add note (#15378) 2022-08-23 13:43:03 -07:00
Craig Osterhout 318c432692
[Issue-15424] Python language-specific guide fix (#15436)
*remove base image from container list in python language-specific guide
2022-08-23 13:42:14 -07: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
Allie Sadler ab0dee78a2
merge dashboard and user manual (#15145)
* merge dashboard and user manual

* fix broken links

* fix broken links

* fix broken links

* updates

* fixes
2022-07-19 15:40:54 +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
Pedro Pessoa e22fab1ab0
style inconsistency in `--publish flag`
the code part is just `--publish`, so "flag" should be normal text, as in other parts of the text
2022-06-16 15:14:01 -03:00
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