propellor spin
This commit is contained in:
parent
f9258ad68a
commit
ff9647cf9d
|
@ -333,6 +333,7 @@ runningContainer cid@(ContainerId hn cn) image runps = containerDesc cid $ prope
|
|||
|
||||
restartcontainer = do
|
||||
oldimage <- liftIO $ fromMaybe image <$> commitContainer cid
|
||||
liftIO $ print ("restarting", oldimage)
|
||||
void $ liftIO $ removeContainer cid
|
||||
go oldimage
|
||||
|
||||
|
|
Loading…
Reference in New Issue