From 8c09a3e169a8a73a2cda302c6184a4d2bde48381 Mon Sep 17 00:00:00 2001 From: Raphael Baron Date: Sat, 20 Jul 2019 09:45:14 +0000 Subject: [PATCH] Fixes documentation for persisting device config --- README_CUSTOM_CONFIG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_CUSTOM_CONFIG.md b/README_CUSTOM_CONFIG.md index 02ebc71..0d69701 100644 --- a/README_CUSTOM_CONFIG.md +++ b/README_CUSTOM_CONFIG.md @@ -51,7 +51,7 @@ If you want to backup/reuse the avds created with furture upgrades or for replic - -v local_backup/android_emulator:/root/android_emulator ```bash -docker run --privileged -d -p 6080:6080 -p 4723:4723 -p 5554:5554 -p 5555:5555 -v local_backup/.android:/root/.android -v local_backup/android_emulator:local_backup/android_emulator -e DEVICE="Nexus 5" --name android-container budtmo/docker-android-x86-8.1 +docker run --privileged -d -p 6080:6080 -p 4723:4723 -p 5554:5554 -p 5555:5555 -v local_backup/.android:/root/.android -v local_backup/android_emulator:/root/android_emulator -e DEVICE="Nexus 5" --name android-container budtmo/docker-android-x86-8.1 ``` For the first run, this will create a new avd and all the changes will be accessible in the `local_backup` directory. Now for all future runs, it will reuse the avds. Even this should work with new releases of `docker-android`