DEV Community

Discussion on: Let docker flutter for you

Collapse
 
ciniguezb profile image
ciniguezb • Edited

I ran the command:

xhost local:$USER && docker run --rm -ti -e UID=$(id -u) -e GID=$(id -g) -p 42000:42000 --workdir /project --device /dev/kvm --device /dev/dri:/dev/dri -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY -v "$PWD":/project --entrypoint flutter-android-emulator matspfeiffer/flutter

And I saw the "Android Emulator" only for a few seconds, and then I had:
No devices found with name or id matching 'flutter_emulator'

Do you know why?

Collapse
 
matsp profile image
Mats Pfeiffer • Edited

Maybe a mistake in my scripts. I will check this out.