From 0de779af8309143ec39c87eabffd48a42ac011c8 Mon Sep 17 00:00:00 2001 From: wyjeong Date: Sun, 28 Apr 2019 04:23:39 +0900 Subject: [PATCH] [ADD] pull docker image from dockerHub --- blockade/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blockade/core.py b/blockade/core.py index eeb55ac..6b33527 100644 --- a/blockade/core.py +++ b/blockade/core.py @@ -157,6 +157,8 @@ def _start_container(self, container, force=False): cap_add=container.cap_add) def create_container(): + # pull image from dockerHub + self.docker_client.pull(container.image) # try to create container response = self.docker_client.create_container( container.image,