Feature request: Multiarch docker containers #375

Closed
opened 2022-09-07 13:44:22 +00:00 by theblazehen · 2 comments

Having a multiarch docker container would make deployments in mixed environments (In my case, arm64 + amd64) simpler, especially when deploying on kubernetes as you do not need to specify multiple image names

Having a multiarch docker container would make deployments in mixed environments (In my case, arm64 + amd64) simpler, especially when deploying on kubernetes as you do not need to specify multiple image names
lx added the
scope
build
kind
improvement
labels 2022-09-07 14:27:55 +00:00
Owner

Hi @theblazehen,

I pushed a multi arch image for Garage v0.7.3 here: https://hub.docker.com/layers/dxflrs/garage/v0.7.3/images/sha256-71f4216e8415015fd46c467f8f71e71ca5591b16f8dd75d96b230f9a68f9bb17?context=explore

You should be able to simply run:

docker pull dxflrs/garage:v0.7.3

This is a manual step for now but I have found a way to do it with manifest-tool.
Let's keep this issue opened for now, we will close it when manifest-tool will be part of our CI process.

Hi @theblazehen, I pushed a multi arch image for Garage v0.7.3 here: https://hub.docker.com/layers/dxflrs/garage/v0.7.3/images/sha256-71f4216e8415015fd46c467f8f71e71ca5591b16f8dd75d96b230f9a68f9bb17?context=explore You should be able to simply run: ``` docker pull dxflrs/garage:v0.7.3 ``` This is a manual step for now but I have found a way to do it with [manifest-tool](https://github.com/estesp/manifest-tool). Let's keep this issue opened for now, we will close it when manifest-tool will be part of our CI process.
lx added this to the v0.8 milestone 2022-09-14 11:39:28 +00:00
quentin was assigned by lx 2022-09-14 13:29:32 +00:00
quentin was unassigned by lx 2022-09-26 12:32:01 +00:00
lx self-assigned this 2022-09-26 12:32:01 +00:00
Owner

Steps:

  1. download and compile manifest-tool

  2. make a garage.yml file with the following content:

image: dxflrs/garage:v0.8.0-beta2
manifests:
  -
    image: dxflrs/arm64_garage:v0.8.0-beta2
    platform:
      architecture: arm64
      os: linux
  -
    image: dxflrs/amd64_garage:v0.8.0-beta2
    platform:
      architecture: amd64
      os: linux
  -
    image: dxflrs/386_garage:v0.8.0-beta2
    platform:
      architecture: 386
      os: linux
  -
    image: dxflrs/arm_garage:v0.8.0-beta2
    platform:
      architecture: arm
      os: linux
  1. run manifest-tool push from-spec garage.yml
Steps: 1. download and compile `manifest-tool` 2. make a `garage.yml` file with the following content: ```yaml image: dxflrs/garage:v0.8.0-beta2 manifests: - image: dxflrs/arm64_garage:v0.8.0-beta2 platform: architecture: arm64 os: linux - image: dxflrs/amd64_garage:v0.8.0-beta2 platform: architecture: amd64 os: linux - image: dxflrs/386_garage:v0.8.0-beta2 platform: architecture: 386 os: linux - image: dxflrs/arm_garage:v0.8.0-beta2 platform: architecture: arm os: linux ``` 3. run `manifest-tool push from-spec garage.yml`
lx closed this issue 2022-09-27 09:55:50 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#375
No description provided.