lg0173
lg0173

Reputation: 234

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

enter image description here

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

Upvotes: 1

Views: 4704

Answers (1)

tmanolatos
tmanolatos

Reputation: 932

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

Upvotes: 1

Related Questions