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

Multiarch support #5

Closed
runningman84 opened this issue Dec 9, 2018 · 1 comment
Closed

Multiarch support #5

runningman84 opened this issue Dec 9, 2018 · 1 comment

Comments

@runningman84
Copy link

Hi please provide a latest image using a mainfest which supports multi arch. This is a working example:
https://github.com/runningman84/docker-kube-router/blob/master/manifest.yaml
Right now it is not possible to pull the latest tag...

@visibilityspots
Copy link
Owner

Created manifest wasn't aware of this feature. Thanks for your input!

$ docker manifest create visibilityspots/cloudflared:latest visibilityspots/cloudflared:amd64 visibilityspots/cloudflared:arm visibilityspots/cloudflared:arm64
Created manifest list docker.io/visibilityspots/cloudflared:latest
$ docker manifest annotate visibilityspots/cloudflared:latest visibilityspots/cloudflared:amd64 --os linux --arch amd64
$ docker manifest annotate visibilityspots/cloudflared:latest visibilityspots/cloudflared:arm --os linux --arch arm
$ docker manifest annotate visibilityspots/cloudflared:latest visibilityspots/cloudflared:arm64 --os linux --arch arm64
$ docker manifest inspect visibilityspots/cloudflared:latest
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1162,
         "digest": "sha256:bb0bf0e6198dc5fe797759f65fceb6c9d8493d0f09c20dc7e433af8525f0b1b1",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1162,
         "digest": "sha256:397d4ee6115088fe2ffa3dadb173aa9d493c03f04e7c995bd1065b1a0918cc15",
         "platform": {
            "architecture": "arm",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1162,
         "digest": "sha256:8f48b3e2ae8b4f858cc975c3d03319764a16fa1858f67358712b4b11be64f70e",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      }
   ]
}
$ docker manifest push visibilityspots/cloudflared:latest

available on https://hub.docker.com/r/visibilityspots/cloudflared/tags

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