A minimal Docker image for running x86 and x86_64 programs on ARM64 systems using FEX-Emuā .
967
A minimal, optimized Docker image for running x86 and x86_64 programs on ARM64 systems using FEX-Emuā .
Source available at https://github.com/stevenlafl/fex-dockerā
FEX allows you to run x86 applications on ARM64 Linux devices, similar to qemu-user and box64. It offers broad compatibility with both 32-bit and 64-bit x86 binaries, and it can be used alongside Wine/Proton to play Windows games.
Optimized using multi-stage builds and minimal dependencies:
docker-compose up -d
docker exec -it fex-emulator /bin/bash
docker pull stevenlafl/fex:latest
docker run -it --rm stevenlafl/fex:latest
docker build -t stevenlafl/fex:latest .
The container starts with FEXBash by default, providing an x86 emulated environment:
docker run -it --rm stevenlafl/fex:latest
# Inside FEXBash (default), binaries run automatically in emulated environment:
docker run -it --rm -v /path/to/x86/app:/app stevenlafl/fex:latest
cd /app && ./your-x86-binary
# To run a specific binary directly, use FEX:
docker run -it --rm -v /path/to/x86/app:/app stevenlafl/fex:latest FEX /app/your-x86-binary
This Dockerfile is optimized for minimal image size:
The image includes several FEX utilities:
FEX - Main emulator executable for running x86/x86_64 programs
FEX /path/to/x86-binary
FEXInterpreter - Deprecated alias for FEX (backwards compatibility)
FEXConfig - Qt-based GUI for configuring emulation settings
FEXBash - Starts a bash instance running under emulation
FEXBash
Note: This is not a chroot! Don't use sudo inside this environment.
FEXMountDaemon - Background mount daemon for SquashFS-based rootfs
The image uses the official FEX Ubuntu 24.04 x86_64 RootFS:
~/.fex-emu/RootFS/Ubuntu_24_04.sqshThe image includes fex-emu-binfmt32 and fex-emu-binfmt64 for transparent x86/x86_64 binary execution on ARM64 hosts.
This Docker configuration is provided as-is. FEX-Emu and included components have their own licenses.
Content type
Image
Digest
sha256:2db247130ā¦
Size
655.8 MB
Last updated
9 months ago
docker pull stevenlafl/fex