Commit Graph

7 Commits

Author SHA1 Message Date
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
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
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