adds notes on using org namespaces for the tutorial

Signed-off-by: LRubin <lrubin@docker.com>
This commit is contained in:
LRubin 2016-12-14 17:52:39 -08:00
parent 73a4b015c6
commit fd697ea100
3 changed files with 31 additions and 2 deletions

View File

@ -73,8 +73,24 @@ For simplicity in this tutorial, we use an environment variable for your Docker
If you don't want to do this, make sure you substitute your username for $DOCKER_ID_USER whenever you see it in the example commands.
```bash
```none
$ export DOCKER_ID_USER=my-username
```
Next up, we'll [Prepare the app](3_prepare_the_app.md).
**If you are running the tutorial with an organization's resources:**
By default, the `docker-cloud` CLI uses your default user namespace, meaning the
repositories, nodes, and services associated with your individual Docker ID
account name. To use the CLI to interact with objects that belong to an
[organization](../../orgs.md), prefix these commands with
`DOCKERCLOUD_NAMESPACE=my-organization`, or set this variable as in the example below.
```none
$ export `DOCKERCLOUD_NAMESPACE=my-organization`
```
See the [CLI documentation](../../installing-cli.md#use-the-docker-cloud-cli-with-an-organization) for more information.
Next up, we'll [Prepare the app](3_prepare_the_app.md).

View File

@ -13,6 +13,13 @@ In this step you will take the image that you built in the previous step, and pu
In step 2, you set your Docker Cloud username as an environment variable called **DOCKER_ID_USER**. If you skipped this step, change the `$DOCKER_ID_USER` to your Docker ID username before running this command.
> **Note**: By default, the `docker-cloud` CLI uses your default user namespace,
meaning the repositories, nodes, and services associated with your individual
Docker ID account name. To use the CLI to interact with objects that belong to
an [organization](../../orgs.md), prefix these commands with
`DOCKERCLOUD_NAMESPACE=my-organization`. See the [CLI documentation](../../installing-cli.md#use-the-docker-cloud-cli-with-an-organization) for more information.
First tag the image. Tags in this case denote different builds of an image.
**Python quickstart**

View File

@ -20,6 +20,12 @@ installed locally or not.
## Deploy app with Docker Engine installed locally
> **Note**: By default, the `docker-cloud` CLI uses your default user namespace,
meaning the repositories, nodes, and services associated with your individual
Docker ID account name. To use the CLI to interact with objects that belong to
an [organization](../../orgs.md), prefix these commands with
`DOCKERCLOUD_NAMESPACE=my-organization`. See the [CLI documentation](../../installing-cli.md#use-the-docker-cloud-cli-with-an-organization) for more information.
Start by running the service.
```bash