summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Propellor/Property/Docker.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Propellor/Property/Docker.hs b/src/Propellor/Property/Docker.hs
index 6ca5005c..d04ed4bf 100644
--- a/src/Propellor/Property/Docker.hs
+++ b/src/Propellor/Property/Docker.hs
@@ -16,7 +16,7 @@ module Propellor.Property.Docker (
tweaked,
Image,
ContainerName,
- Container,
+ Container(..),
-- * Container configuration
dns,
hostname,
@@ -76,7 +76,10 @@ configured = prop `requires` installed
type ContainerName = String
-- | A docker container.
-data Container = Container Image Host
+data Container = Container
+ { containerImage :: Image
+ , containerHost :: Host
+ }
instance PropAccum Container where
(Container i h) & p = Container i (h & p)