Skip to content

Commit

Permalink
Added Docker-Compose Installation Instructions
Browse files Browse the repository at this point in the history
Added Docker-Compose for anyone that needs it
Signed-off-by: UmamaheshwarN <[email protected]>
  • Loading branch information
nandyalu authored Mar 20, 2023
1 parent 82a943b commit 3521f7f
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 @@ -53,6 +53,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 3521f7f

Please sign in to comment.