Update Readme
This commit is contained in:
parent
655fcce56a
commit
8b79e771d5
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
|
@ -29,6 +29,19 @@ The authentication can be configured in the following ways:
|
||||||
export DOCKERCLOUD_USER=username
|
export DOCKERCLOUD_USER=username
|
||||||
export DOCKERCLOUD_APIKEY=apikey
|
export DOCKERCLOUD_APIKEY=apikey
|
||||||
|
|
||||||
|
## Namespace
|
||||||
|
|
||||||
|
To support teams and orgs, you can specify the namespace in the following ways:
|
||||||
|
|
||||||
|
* Set it in the Python code:
|
||||||
|
|
||||||
|
import dockercloud
|
||||||
|
dockercloud.namespace = "yourteam"
|
||||||
|
|
||||||
|
* Set it in the environment variable:
|
||||||
|
|
||||||
|
export DOCKERCLOUD_NAMESPACE=yourteam
|
||||||
|
|
||||||
## Errors
|
## Errors
|
||||||
|
|
||||||
Errors in the HTTP API will be returned with status codes in the 4xx and 5xx ranges.
|
Errors in the HTTP API will be returned with status codes in the 4xx and 5xx ranges.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue