Commit 78595fe8 authored by nimrod's avatar nimrod
Browse files

fixup! Registry backup script.

parent a4a34aee
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ def backup(docker_client, registry, image, tag, dest):

def backup_registry(registry, dest):
    """Backup the images in the registry to the destination."""
    docker_client = docker.from_env(timeout=90)
    docker_client = docker.from_env(timeout=300)
    docker_client.ping()
    for image in get_images(registry):
        (dest / image).mkdir(exist_ok=True)