Skip to content

Commit

Permalink
remove container
Browse files Browse the repository at this point in the history
  • Loading branch information
jon4h committed Mar 24, 2021
1 parent a15d204 commit 1824ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webhook-cd.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_containers(container_names):

def remove_container(container):
try:
container.stop()
container.remove()
except docker.errors.APIError as e:
logging.error(e)

Expand Down

0 comments on commit 1824ee2

Please sign in to comment.