propellor spin

This commit is contained in:
Joey Hess 2014-11-19 00:38:11 -04:00
parent 29f3337034
commit f8b71c0ab4
Failed to extract signature
1 changed files with 1 additions and 1 deletions

View File

@ -489,7 +489,7 @@ runContainer image ps cmd = boolSystem dockercmd $ map Param $
"run" : (ps ++ image : cmd)
inContainer :: ContainerId -> [String] -> [String] -> (Handle -> IO a) -> IO a
inContainer cid ps cmd = withHandle StdinHandle createProcessSuccess
inContainer cid ps cmd = withHandle StdoutHandle createProcessSuccess
(proc dockercmd ("exec" : ps ++ [fromContainerId cid] ++ cmd))
commitContainer :: ContainerId -> IO (Maybe Image)