Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

creating docker-compose to handle multi arch

In the below code.I need linux/arm64 and linux/arm/v7 arch images. My understanding is docker-compose create with the platform option creates multi-arch images. But it not work as I expect.

version: '3'
services:
  app:
    build: .
    ports:
      - '4000:3000'
    platform: linux/arm64
    platform: linux/arm/v7

Thanks.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...