Skip to content

Commit

Permalink
Merge pull request #417 from fsackur/410-doc-persistence
Browse files Browse the repository at this point in the history
Added note about data volume
  • Loading branch information
budtmo committed May 3, 2024
2 parents c5cce78 + 7db9299 commit 4086413
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
-----------

Expand Down

0 comments on commit 4086413

Please sign in to comment.