budtmo / budtmo/docker-android

[🐛 Bug ]: Question: Image of emulator with appium server does not run device emulator on macos.

Open
#452 0 comments 4 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
15.8k
Forks
1.8k
Avg merge
12h 13m
Merged PRs (30d)
6

Description

### Operating System

OSX sonoma 14.5 (M2 max)

### Docker Image

budtmo/docker-android:emulator_12.0

### Expected behaviour

this docker-compose.yml works on macos:
```
appium:
container_name: appium
image: budtmo/docker-android:emulator_12.0
privileged: true
devices:
- /dev/kvm
environment:
- WEB_VNC=true
- APPIUM=true
- EMULATOR_DEVICE=Samsung Galaxy S10
ports:
- "4723:4723"
- "6080:6080"
- "5554:5554"
- "5555:5555"
```

### Actual behaviour

Image running without actual emulator inside when i go to http://localhost:6080 and connect to it
![image](https://github.com/user-attachments/assets/6cd16cf2-5bac-4a08-b561-3cce9e99f567)

It is obvious that it does not work without KVM
but i didn't find any guidance if that is possible to make it work on macos without ubuntu virtual machine in which i would run docker. My goal is to figure out how to make it work on macos that runs this docker image
because i didn't find a way of having kvm like this:
devices:
- /dev/kvm with this "device" it fails to start because it is not found on hosting osx...

### Logs

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.