Multi-Lang is a Docker multi-architecture build project that demonstrates how to build and push Docker images for various platforms. This project leverages Docker Buildx and QEMU for cross-platform builds.
### Prerequisites
- Docker (with Buildx support)
- QEMU for multi-architecture emulation
### Build Instructions
1.**Create and Enable Buildx Builder**
Create a new Buildx builder instance and switch to it:
```bash
docker buildx create --use
```
2.**Start QEMU Multi-Architecture Emulator**
Run the following command to start QEMU with multi-arch support:
```bash
docker run --rm --privileged fly6516.synology.me:8080/multiarch/qemu-user-static --reset -p yes
```
3.**Build and Push Multi-Arch Docker Image**
Build your Docker image for multiple architectures and push it to the registry: