mirror of
https://github.com/docker/docs.git
synced 2026-11-14 04:50:52 +03:00
Merge pull request #1527 from aanand/remove-logging-on-run-rm
Remove logging on run --rm
(cherry picked from commit 5578ccbb01)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
committed by
Aanand Prasad
parent
8ed7dfef6f
commit
dca3bbdea3
@@ -348,7 +348,6 @@ class TopLevelCommand(Command):
|
||||
dockerpty.start(project.client, container.id, interactive=not options['-T'])
|
||||
exit_code = container.wait()
|
||||
if options['--rm']:
|
||||
log.info("Removing %s..." % container.name)
|
||||
project.client.remove_container(container.id)
|
||||
sys.exit(exit_code)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user