Skip to content

Commit

Permalink
DockerTarget - Don't attempt to pull images that are already local at…
Browse files Browse the repository at this point in the history
… all
  • Loading branch information
robwaz committed Jun 14, 2024
1 parent 992e85b commit 0c631cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archr/targets/docker_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(

self._client = docker.client.from_env()

if pull:
if pull and not self._client.images.list(self.image_id):
self._pull()

# If we're running in docker-by-docker, default the network to the same network
Expand Down

0 comments on commit 0c631cd

Please sign in to comment.