Commit Graph

204 Commits

Author SHA1 Message Date
Andre Hofmeister 3affff66e4
docs: Add "Run your tests" section to .NET (#16244)
* docs: Add "Run your tests" section to .NET

* fix: Add "Run your tests" to toc.yaml
2023-01-20 14:20:28 -08:00
Hannes Hansen 67ff95b75a
Prevent node_modules from override via mount (#16545)
In the section `Use Compose to develop locally`, a docker-compose file is shown which mounts the app directory into the `notes` container to be able to change the code without rebuilding the image. Unfortunately, the node_modules directory which was created during the build will be overridden as the whole working directory /app gets mounted. Therefore, this directory needs to be secured by adding it to the volumes.
2023-01-20 22:03:09 +00:00
Allie Sadler f956ab6552
Improve alt text on images (#16484) 2023-01-10 16:28:46 +00:00
Nghiauet e5df3a3799
Correct docker compose command (error with "-") (#16426)
I already removed it
2023-01-04 13:54:11 +00:00
Bhav Beri f01e6c9750 Updated dotnet template name language/dotnet/build-images.md 2022-12-10 15:59:43 +05:30
Daniel Junior b1563e8c4e - fixed typo on yml file.
- added quotes to ports identification as per good practices
2022-12-09 07:09:02 +00:00
gr0ker ae3acbed06
Fix path of Dockerfile directory
Other tutorial parts suppose that the Dockerfile is located at the same level as src folder.
2022-12-03 16:39:35 +05: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
craig-osterhout c62436fd18
fix typo 2022-11-08 14:33:15 -08:00
Craig Osterhout 4b927b0e64
fix typo (#16120) 2022-11-08 12:42:53 -08:00
CrazyMax ba8ae8535f
build: context page
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-11-07 11:15:30 +01:00
Arinze Chianumba f85256ee43
fixes "Command 'docker-compose' not found" error.
This commit fixes the error thrown due to a typo in the command docker-compose -f docker-compose.dev.yml up --build. The correct command is docker compose -f docker-compose.dev.yml up --build without the hyphen between 'docker' and 'compose' in the command sequence.
2022-11-04 16:18:05 +01:00
Arinze Chianumba 31bdfddbc4
fixes "Command 'docker-compose' not found" error.
This commit fixes the error thrown due to a typo in the command `docker-compose -f docker-compose.dev.yml up --build`.
The correct command is `docker compose -f docker-compose.dev.yml up --build` without the hyphen between 'docker' and 'compose' in the command sequence
2022-11-04 15:38:07 +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
Nitish Kumar 38a6523d2d
POST request changed to GET request (#16022) 2022-10-31 13:03:18 +00: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
Craig Osterhout ec5edc7949
[ENGDOCS-943] Create C# .NET language-specific guide (#15666)
* create .net guide
2022-10-26 13:56:54 -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
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