Commit Graph

187 Commits

Author SHA1 Message Date
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
Craig Osterhout ad614f1d2c
[Issue 12622] Node.js guide - update example code (#15922)
* update server.js code
2022-10-20 13:32:12 -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
Akira Aso 0d14bcb8c3
Make a paragraph about docker ps concise (#15839) 2022-10-11 09:59:32 -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
ming 50d76362e8
Update develop.md (#14315)
* Update develop.md

this makes it clear that it is the "volumes" that can sync local code changes to that in the container.

* Update language/nodejs/develop.md

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2022-09-30 12:40:59 +01: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 ab0a1f692d
Merge pull request #15730 from firgun/patch-2
Fix typos, tone and brevity
2022-09-23 12:57:15 -07:00
Keagan Roos 4f927ed277
Fix typos, tone and brevity 2022-09-23 16:44:59 +02:00
Keagan Roos 70b26ae9f3
Fix typo
Change "return" to "returning".
2022-09-23 16:22:03 +02:00
Craig Osterhout 3d32a4eca7
Merge pull request #15657 from craig-osterhout/15646-java-issue
Issue-15646: Java language specific guide issue
2022-09-21 15:07:12 -07:00
CrazyMax d775c8a6bf
build: multi-stage builds
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-15 13:37:37 +02:00
craig-osterhout 49597b8bbd
add depends_on 2022-09-14 10:11:24 -07: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
gaoagong e097432e2c
Word Change (#15420) 2022-08-18 11:46:53 -07:00
Craig Osterhout 8b5cf33e2f
fix formatting for issue 15365 (#15368) 2022-08-12 10:01:05 +01:00
Craig Osterhout 4231acfd40
[ENGDOCS-864] Update java language-specific guide (#15269)
* Updated java guide

* Update language/java/develop.md

Co-authored-by: Guillaume Lours <guillaume@lours.me>

* Update language/java/develop.md

Co-authored-by: Guillaume Lours <guillaume@lours.me>

* moved multi-stage Dockerfile to develop section

Co-authored-by: Guillaume Lours <guillaume@lours.me>
2022-08-03 13:55:57 -07:00
CrazyMax 02d195dcb7
Merge pull request #15276 from crazy-max/rm-absolute-links
remove most of absolute urls
2022-08-03 12:30:39 +02: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
Roberto Villarreal ad96551b60
Fix spelling mistake in golang docs (#15305) 2022-08-03 10:15:28 +01:00
Justin Chadwell ad45d2d936 lint: tidy spaces inside spans 2022-07-28 11:27:10 +01:00
Justin Chadwell 749d27b40d lint: tidy up consistent header styles 2022-07-28 11:27:10 +01: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
Grant Mitchell 00cc2961b7
added what file type the github actions is
I added this as it might be confusing for some people who dont write in yaml every day to know what file it is. it is best to explicitly state what file type it is
2022-06-23 13:57:51 -07: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
Jerae Duffin 7f9b8c7392 fixed typo 2022-05-12 15:46:52 -05:00
Usha Mandya 5c5ba79b74 Remove the request new guide issue link
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-04-26 23:46:13 +01:00
Sebastiaan van Stijn cc62b154b8
language/java: fix code-hint to use the correct language
This block now shows java code, so changing the code-hint to make
sure it's highlighted correctly.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-12 11:56:01 +02:00
Usha Mandya 3e55e4ab63
Merge pull request #14352 from giudega/updateTests
removed reference to code line
2022-04-08 11:25:28 +01:00
Giuseppe De Gaetano 60bd96d506
Merge branch 'docker:master' into master 2022-03-27 23:24:03 +02:00
Dovydas Lozys 5edae78bdd
fixes typos 2022-03-25 17:58:00 +00:00
Usha Mandya c82853feb5
Merge pull request #14402 from OusSaidi/patch-1
Fix small typo
2022-03-23 09:49:40 +00:00
Nicholas Rasi a3b576c0a8
Fix Small Typo 2022-03-19 18:38:49 +01:00
OusSaidi c8d0d5c8f8
Fix small typo 2022-03-17 16:41:46 +01:00
Giuseppe De Gaetano 03cd16c2df removed reference to code line 2022-03-06 23:51:45 +01:00
Giuseppe De Gaetano 64ffe96450 removed reference to code line number 2022-03-06 19:55:48 +01:00
Usha Mandya 8d2682cac0
Merge pull request #13898 from humphd/patch-1
Update run-tests.md
2022-02-25 11:49:44 +00:00
Usha Mandya 1c402e7fbf
Merge pull request #14272 from ValeriiMakhniuk/patch-1
add link to volumes.md docs
2022-02-25 11:04:47 +00:00
Usha Mandya 9c63f89aac
Update language/nodejs/develop.md 2022-02-25 11:01:06 +00:00
OGUNSOLA USMAN ADEBAYO f5ed385f5b
Update develop.md (#14025)
* Update develop.md

- provided more clarity to the structure of the mongo database connection string used as CONNECTIONSTRING environment variable to run the docker image in the sample node.js project.

* Update develop.md
2022-02-24 14:15:46 +00:00