summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Lloyd <axl639@student.bham.ac.uk>2018-06-12 12:45:33 +0100
committerJoffrey F <f.joffrey@gmail.com>2018-06-12 11:15:05 -0700
commit76471c6519204e2c761a57fbefc565f0ea23dc21 (patch)
treefcc9c02f4e34d19430cc57d363a7b9f329e35968
parentf1189bfb4b1f2ecb6adc77f7349a085bdca1a824 (diff)
downloaddocker-py-76471c6519204e2c761a57fbefc565f0ea23dc21.tar.gz
Fixed typo in ContainerSpec Docs
Signed-off-by: Alexander Lloyd <axl639@student.bham.ac.uk>
-rw-r--r--docker/types/services.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/types/services.py b/docker/types/services.py
index 09eb05e..31f4750 100644
--- a/docker/types/services.py
+++ b/docker/types/services.py
@@ -82,7 +82,7 @@ class ContainerSpec(dict):
args (:py:class:`list`): Arguments to the command.
hostname (string): The hostname to set on the container.
env (dict): Environment variables.
- dir (string): The working directory for commands to run in.
+ workdir (string): The working directory for commands to run in.
user (string): The user inside the container.
labels (dict): A map of labels to associate with the service.
mounts (:py:class:`list`): A list of specifications for mounts to be