on master help sign in
exposed ports is apparently optional
commit4824356fc3057b701ddb20bb9b4758e808386133 authorjprider63 <jp@jamesparker.me> dateTue 2 Aug 2016, 12:40 (10 years ago) parentae66f69
1 file changed+2−2
src/Docker/Types.hs+2−2
src/Docker/Types.hs+2−2
@@ -538,7 +538,7 @@ defaultContainerConfig imageName = ContainerConfig {
538538 , attachStdout=False
539539 , image=imageName
540540 , attachStderr=False
541− , exposedPorts=ExposedPorts M.empty
541+ , exposedPorts=Nothing -- ExposedPorts M.empty
542542 , tty=False
543543 , openStdin=False
544544 , stdinOnce=False
@@ -1183,7 +1183,7 @@ data ContainerConfig = ContainerConfig {
11831183 , attachStdin :: Bool
11841184 , attachStdout :: Bool
11851185 , attachStderr :: Bool
1186− , exposedPorts :: ExposedPorts
1186+ , exposedPorts :: Maybe ExposedPorts -- Note: Should we expand the JSON instance and take away the Maybe?
11871187 -- , publishService :: Text -- Don't see this in 1.24
11881188 , tty :: Bool
11891189 , openStdin :: Bool