Skip to content

Commit

Permalink
Merge pull request #132 from UNCode101/patch-2
Browse files Browse the repository at this point in the history
Added Docker-Compose Installation Instructions
  • Loading branch information
tonistiigi authored Jun 19, 2024
2 parents 0bc43d0 + 3521f7f commit d109f4b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,21 @@ docker run --privileged --rm tonistiigi/binfmt --install all
docker run --privileged --rm tonistiigi/binfmt --install arm64,riscv64,arm
```

## Installing emulators from Docker-Compose

```docker
version: "3"
services:
emulator:
image: tonistiigi/binfmt
container_name: emulator
privileged: true
command: --install all
network_mode: bridge
restart: "no"
```
Only use container `restart-policy` as `no`, otherwise docker will keep restarting the container.

## Uninstalling emulators

```bash
Expand Down

0 comments on commit d109f4b

Please sign in to comment.