Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

container_pull fails with Error pulling and saving image [...]: 'signatures' #323

Closed
rmohr opened this issue Feb 15, 2018 · 2 comments
Closed

Comments

@rmohr
Copy link

rmohr commented Feb 15, 2018

When trying to pull library/fedora with the following config

git_repository(
    name = "io_bazel_rules_docker",
    remote = "https://github.com/bazelbuild/rules_docker.git",
    tag = "v0.4.0",
)

load(
    "@io_bazel_rules_docker//container:container.bzl",
    "container_pull",
    "container_image",
    container_repositories = "repositories",
)

container_repositories()

container_pull(
  name = "fedora",
  registry = "index.docker.io",
  repository = "library/fedora",
  digest = "sha256:25f7dac76b2c88d8b7e0b1d6213d3406e77c7f230bfa1e66bd1cbb81a944eaaf",
  #tag = "27",
)

I get

no such package '@fedora//image': Pull command failed: F0215 23:08:04.033210    8081 __main__.py:107] Error pulling and saving image index.docker.io/library/fedora@sha256:e850707632271c4e9bff8eeda1ff0272819d9c4fde17f436ec926291026b9160: 'signatures'

However, pulling via tag = 27 works and pulls this layer, and directly running

docker pull index.docker.io/library/fedora@sha256:e850707632271c4e9bff8eeda1ff0272819d9c4fde17f436ec92629

works fine too ...

@rmohr
Copy link
Author

rmohr commented Feb 15, 2018

Ok, duplicate of #320 and #308.

@rmohr rmohr closed this as completed Feb 15, 2018
@jonjohnsonjr
Copy link
Contributor

This should be fixed at HEAD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants