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

Unable to create containers from buildah images #61

Closed
lsahn-gh opened this issue Feb 25, 2019 · 4 comments
Closed

Unable to create containers from buildah images #61

lsahn-gh opened this issue Feb 25, 2019 · 4 comments

Comments

@lsahn-gh
Copy link

lsahn-gh commented Feb 25, 2019

OS: Fedora 29 Workstation (Not Silverblue one)
Podman: 1.0.0
Buildah: buildah version 1.6 (image-spec 1.0.0, runtime-spec 1.0.0)

podman info

host:
  BuildahVersion: 1.6-dev
  Conmon:
    package: podman-1.0.0-1.git82e8011.fc29.x86_64
    path: /usr/libexec/podman/conmon
    version: 'conmon version 1.12.0-dev, commit: 49780a1cf10d572edc4e1ea3b8a8429ce391d47d'
  Distribution:
    distribution: fedora
    version: "29"
  MemFree: 10359164928
  MemTotal: 16545677312
  OCIRuntime:
    package: runc-1.0.0-68.dev.git6635b4f.fc29.x86_64
    path: /usr/bin/runc
    version: |-
      runc version 1.0.0-rc6+dev
      commit: ef9132178ccc3d2775d4fb51f1e431f30cac1398-dirty
      spec: 1.0.1-dev
  SwapFree: 8493461504
  SwapTotal: 8493461504
  arch: amd64
  cpus: 8
  hostname: localhost.localdomain
  kernel: 4.20.10-200.fc29.x86_64
  os: linux
  rootless: true
  uptime: 1h 22m 32.31s (Approximately 0.04 days)
insecure registries:
  registries: []
registries:
  registries:
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.access.redhat.com
  - registry.centos.org
store:
  ConfigFile: /home/thomas/.config/containers/storage.conf
  ContainerStore:
    number: 9
  GraphDriverName: vfs
  GraphOptions:
  - overlay.mount_program=/usr/bin/fuse-overlayfs
  GraphRoot: /home/thomas/.local/share/containers/storage
  GraphStatus: {}
  ImageStore:
    number: 9
  RunRoot: /run/user/1000/run

buildah info

{
    "host": {
        "Distribution": {
            "distribution": "fedora",
            "version": "29"
        },
        "MemTotal": 16545677312,
        "MenFree": 10332602368,
        "SwapFree": 8493461504,
        "SwapTotal": 8493461504,
        "arch": "amd64",
        "cpus": 8,
        "hostname": "localhost.localdomain",
        "kernel": "4.20.10-200.fc29.x86_64",
        "os": "linux",
        "rootless": true,
        "uptime": "1h 24m 40.17s (Approximately 0.04 days)"
    },
    "store": {
        "ContainerStore": {
            "number": 0
        },
        "GraphDriverName": "overlay",
        "GraphOptions": [
            "overlay.mount_program=/usr/bin/fuse-overlayfs"
        ],
        "GraphRoot": "/home/thomas/.local/share/containers/storage",
        "GraphStatus": {
            "Backing Filesystem": "extfs",
            "Native Overlay Diff": "false",
            "Supports d_type": "true"
        },
        "ImageStore": {
            "number": 2
        },
        "RunRoot": "/run/user/1000"
    }
}

Error message

 thomas@localhost  ~/dev/toolbox   master  ./toolbox -v create           
toolbox: checking if image fedora-toolbox-thomas:29 already exists
toolbox: checking if container fedora-toolbox-thomas:29 already exists
error looking up container "fedora-toolbox-thomas:29": no container with name or ID fedora-toolbox-thomas:29 found: no such container
toolbox: trying to create container fedora-toolbox-thomas:29
Trying to pull docker.io/fedora-toolbox-thomas:29...Failed
Trying to pull registry.fedoraproject.org/fedora-toolbox-thomas:29...Failed
Trying to pull quay.io/fedora-toolbox-thomas:29...Failed
Trying to pull registry.access.redhat.com/fedora-toolbox-thomas:29...Failed
Trying to pull registry.centos.org/fedora-toolbox-thomas:29...Failed
unable to pull fedora-toolbox-thomas:29: 5 errors occurred:

* Error determining manifest MIME type for docker://fedora-toolbox-thomas:29: Error reading manifest 29 in docker.io/library/fedora-toolbox-thomas: errors:
denied: requested access to the resource is denied
unauthorized: authentication required

* Error determining manifest MIME type for docker://registry.fedoraproject.org/fedora-toolbox-thomas:29: Error reading manifest 29 in registry.fedoraproject.org/fedora-toolbox-thomas: manifest unknown: manifest unknown
* Error determining manifest MIME type for docker://quay.io/fedora-toolbox-thomas:29: Error reading manifest 29 in quay.io/fedora-toolbox-thomas: error parsing HTTP 404 response body: invalid character '<' looking for beginning of value: "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n<title>404 Not Found</title>\n<h1>Not Found</h1>\n<p>The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again.</p>\n"
* Error determining manifest MIME type for docker://registry.access.redhat.com/fedora-toolbox-thomas:29: Error reading manifest 29 in registry.access.redhat.com/fedora-toolbox-thomas: unknown: Not Found
* Error determining manifest MIME type for docker://registry.centos.org/fedora-toolbox-thomas:29: Error reading manifest 29 in registry.centos.org/fedora-toolbox-thomas: manifest unknown: manifest unknown
toolbox: failed to create container fedora-toolbox-thomas:29

This might happen because podman and buildah both are based on different image-spec?

@debarshiray
Copy link
Member

This looks like a duplicate of #46

It will be useful if you could answer the question asked in #46. Thanks for the feedback!

@lsahn-gh
Copy link
Author

I will keep talking in the issue, thanks!

@debarshiray
Copy link
Member

Duplicate of #46

@debarshiray debarshiray marked this as a duplicate of #46 Feb 26, 2019
@debarshiray
Copy link
Member

Duplicate of #42

@debarshiray debarshiray marked this as a duplicate of #42 Mar 14, 2019
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