summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Docker.hs
diff options
context:
space:
mode:
authorJoey Hess2014-05-19 17:27:21 -0400
committerJoey Hess2014-05-19 17:27:21 -0400
commitc8a653af5dfd6f876d2c5d77ef047ba47274e3d7 (patch)
tree6251b7031c65f6860efd7426dc242150e697e2e9 /src/Propellor/Property/Docker.hs
parent2e050607079393c3bdac789c0751a203a2a2faf9 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property/Docker.hs')
-rw-r--r--src/Propellor/Property/Docker.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Propellor/Property/Docker.hs b/src/Propellor/Property/Docker.hs
index 09d7d6a4..68fbced5 100644
--- a/src/Propellor/Property/Docker.hs
+++ b/src/Propellor/Property/Docker.hs
@@ -156,6 +156,10 @@ name = runProp "name"
publish :: String -> Property
publish = runProp "publish"
+-- | Expose a container's port without publishing it.
+expose :: String -> Property
+expose = runProp "expose"
+
-- | Username or UID for container.
user :: String -> Property
user = runProp "user"