简体   繁体   中英

Run emulator android and docker for windows

I installed Docker for Windows on windows 10. I work with Android Studio and emulator android but it's not compatible with Hyper-v

在此处输入图片说明

I have seen this solution here but I think he use Docker toolbox ....

What 's the best way, the best solution to run both docker for windows and android emulator ?

Thanks for your help

You can run Docker by creating a VM Linux using VirtualBox (for example ubuntu or centos) and then run docker inside that VM.

For natively running docker in Windows, you will need Hyper-V enabled which is incompatible with regular Android SDK Emulators - and then you will need Microsoft Android Emulator which is way too old / incompatible with newer Android versions.

So, for me, the only solution is do your Docker stuff in a dedicated VM using VirtualBox.

---- UPDATE 2018-07-19 -----

it seems that Google just offered a new version of Emulator that is compatible with Hyper-V. Check https://android-developers.googleblog.com/2018/07/android-emulator-amd-processor-hyper-v.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM