Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #33 from twitter-fabric/patch/remove-volumes
Browse files Browse the repository at this point in the history
Remove volumes when finalizing container
  • Loading branch information
fionawhim committed Jan 27, 2016
2 parents 0d9e307 + 84468e4 commit 8f16b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/run.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ finalizeContainer = (container, options) ->
options.reporter.error "#{info.Config.Cmd.join ' '} failed with exit code #{statusCode}"

# Since the process exited, we remove the container. (Equivalent of --rm in Docker.)
DockerUtils.removeContainer container
DockerUtils.removeContainer container, { v: true }
.then -> {container, statusCode}

# Returns a callback suitable for sending to Rsyncer's "watch" method. Keeps a general status of
Expand Down

0 comments on commit 8f16b23

Please sign in to comment.