docker-android icon indicating copy to clipboard operation
docker-android copied to clipboard

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

Open vladimir-ilnytskyi opened this issue 1 year ago • 0 comments

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

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

vladimir-ilnytskyi avatar Jul 28 '24 15:07 vladimir-ilnytskyi