Skip to content

[Feature] Support Multi-arch Docker image to simplify usage #207

@denverdino

Description

@denverdino

Problem Description

In current document, e.g. https://runtime.agentscope.io/en/training_sandbox.html

It requires to pull the docker images separately for different architectures, e.g. ARM64 and X86_64

# Pull and tag Appworld ARM64 architecture image
docker pull agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-appworld:latest-arm64 && docker tag agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-appworld:latest-arm64 agentscope/runtime-sandbox-appworld:latest-arm64

# Pull and tag Appworld X86_64 architecture image
docker pull agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-appworld:latest && docker tag agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-appworld:latest agentscope/runtime-sandbox-appworld:latest

Proposed Solution

I hope to pull the docker image and it can use the proper architectures automatically.

docker pull agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-appworld:latest

The build process should support multi-platform build

https://docs.docker.com/build/building/multi-platform/

Affected Component(s)

  • Engine
  • Sandbox
  • Documentation
  • Other: ___________

Alternatives Considered

[Describe any alternative solutions you've considered]

Additional Context

[Any other context, screenshots, or examples about the feature request]

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions