From 7db92991ab1da8e2ee29b6a86d52f4986799417f Mon Sep 17 00:00:00 2001 From: Freddie Sackur Date: Thu, 11 Apr 2024 12:03:21 +0100 Subject: [PATCH] Added note about data volume --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b188ed3f..9df7778c 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Advantages of using this projects --------------------------------- 1. Emulator with different device profile and skins, such as Samsung Galaxy S6, LG Nexus 4, HTC Nexus One and more. 2. Support vnc to be able to see what happen inside docker container -3. Support log sharing feature where all logs can be accessed from web-UI +3. Support log sharing feature where all logs can be accessed from web-UI 4. Ability to control emulator from outside container by using adb connect 5. Integrated with other cloud solutions, e.g. [Genymotion Cloud](https://www.genymotion.com/cloud/) 6. It can be used to build Android project @@ -74,6 +74,14 @@ Quick Start docker exec -it android-container cat device_status ``` +Persisting data +----------- + +The default behaviour is to destroy the emulated device on container restart. To persist data, you need to mount a volume at `/home/androidusr`: + ``` + docker run -v data:/home/androidusr budtmo/docker-android:emulator_11.0 + ``` + WSL2 Hardware acceleration (Windows 11 only) -----------