Skip to content

Cannot pull OCI images - KeyError: 'layers' #34

Description

@sigma-plus
python docker_pull.py postgres

I run the script in Windows 11/ Python 3.11 and get the following error:

Traceback (most recent call last):
  File "D:\share\docker_pull.py", line 87, in <module>
    layers = resp.json()['layers']
             ~~~~~~~~~~~^^^^^^^^^^
KeyError: 'layers'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions