Commit Graph

233 Commits

Author SHA1 Message Date
Craig Osterhout 4081da67a2
Update rust guide (#17702)
* update rust guide

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
Co-authored-by: Stephanie Aurelio <133041642+stephaurelio@users.noreply.github.com>
2023-07-25 08:01:38 -07:00
Ekwinder Saini 88c5a53bda
Modify "stop" to "stop and remove" to avoid container name conflict error. (#17816)
Added instruction to removed the container along with stopping it to avoid error - You have to remove (or rename) that container to be able to reuse that name.
2023-07-24 11:29:51 -07:00
Ekwinder Saini 9cfbe87392
Modifying pip3 install to python3 -m pip install for consistency across guide modules (#17815)
* Modifying pip3 install to python3 -m pip install for consistency across guide modules

In the other pages of the guide python3 -m pip install is used instead of pip3 install, the former being better practice as well. Therefore, replacing the use of pip3 install commands to the recommended one.
2023-07-24 11:20:43 -07:00
Peter Hauke 05e462bd2b
Add output from a successful test run (#17793)
Add output from a successful test run -- because the error output from a failed test run was presented above
2023-07-21 09:48:57 -07:00
Peter Hauke 7c81c527a9
Separate command line instruction from output to enable COPY/PASTE (#17791)
Separate command line instructions from the output to enable COPY/PASTE to make it quicker and easier to follow the guide without having to type commands.

This made necessary a minor rewrite of the "Test the application" section for clarity.
2023-07-21 09:48:10 -07:00
Peter Hauke c52ceff34d
Fix typo 2023-07-21 08:27:37 +02:00
Deepak Pathak 56af290d78
Update develop.md (#17643)
database container was started with --hostname db and not --name db
2023-07-17 11:35:35 -07:00
Fanny 68450b02a5
docs: fix typos (#17734)
* docs: fix typo

* Update engine/release-notes/prior-releases.md

---------

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
2023-07-13 11:22:54 +01:00
Craig Osterhout 84c9404b88
update nodejs develop section (#17696)
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-07-06 07:28:10 -07:00
Craig Osterhout 633c6be951
update nodejs langauge guide (#17659)
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-07-05 07:16:22 -07:00
David Karlsson 093d6e2b27 fix: Eclipse Temurin typos
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-07-04 15:40:51 +02:00
Craig Osterhout 0ae643f91b
Merge pull request #17642 from craig-osterhout/update-dotnet
Update dotnet guide
2023-06-29 12:28:06 -07:00
Craig Osterhout 4523221101
Add rust language guide (#17610)
* add rust language guide

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>

* feedback1

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>

---------

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-06-29 17:42:38 +01:00
Craig Osterhout 8c2f18c5c0
update dotnet guide
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-06-28 13:16:30 -07:00
Craig Osterhout 194131d3ed
Update go guide repos
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2023-06-07 12:13:17 -07:00
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
Craig Osterhout 5e81075d93
update button style (#17045) 2023-04-12 14:38:30 -07:00
John Bampton b3efa5a257
docs(whitespace): standardize `CMD` example commands (#17033) 2023-04-06 08:56:38 -07:00
Oliver Frolovs 25738b74b5
Update Golang section to 1.19 (PR 1 of 2) (#16867)
* Update index and build parts of Golang to v1.19

* Update Golang to 1.19 in the first of the two sample apps
2023-04-05 11:28:56 -07:00
Chris Chinchilla 4f60ad89ad
Merge pull request #16878 from ChrisChinchilla/chrisward/python-build
Review for freshness and to check reported errors
2023-03-14 13:09:19 +01: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
Andre Hofmeister 83a7a28178
docs: Update Run your tests to the latest version of TC for .NET (#16855) 2023-03-13 02:42:51 -07:00
Craig Osterhout d1de275d4b
Merge pull request #16781 from HofmeisterAn/patch-1
fix: Pin Testcontainers for .NET version
2023-02-27 07:06:04 -08:00
Andre Hofmeister b30aa0d9fa
fix: Pin Testcontainers for .NET version 2023-02-27 09:20:44 +01:00
David Karlsson c0402932ca scout: add docs for docker scout hub and cli
- add: new docker scout section
- add: advanced image analysis
- add: scout artifactory integration
- add: image details view
- add: docker scout cli reference
- change: hub vulnerability scanning
- change: security best practices (previously /develop/scan-images)
- change: prune references to docker scan
- deprecate: docker scan
- remove: atomist section
2023-02-24 15:25:56 +01:00
Craig Osterhout dd1f3331eb
update node version (#16758) 2023-02-22 08:10:59 -08:00
Sam Griffith 05d7522a8b
Make specified working directory match Dockerfile (#16686) 2023-02-09 15:27:54 +00:00
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