Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/docker-android-sdk/android-31.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorppoffice <ppoffice@users.noreply.github.com>2021-07-13 07:33:41 +0300
committerppoffice <ppoffice@users.noreply.github.com>2021-07-13 07:35:07 +0300
commitcd3131fe1379fb6e7cba6d724c2ac3e2e186cabd (patch)
tree7457b7eba12ac984ebb7d4c190cd15fa26d2a115
parent9873d9a59556ddecbe7cc03f52b23265075c453b (diff)
update readme
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 0bb4757..20c5e2d 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ Docker for Android SDK 30 with preinstalled build tools and emulator image
- Interactive way
```bash
- $ docker run -it --rm --privileged androidsdk/android-30:latest bash
+ $ docker run -it --rm --device /dev/kvm androidsdk/android-30:latest bash
# check installed packages
$ sdkmanager --list
# create and run emulator
@@ -32,7 +32,7 @@ Docker for Android SDK 30 with preinstalled build tools and emulator image
# You can also run other Android platform tools, which are all added to the PATH environment variable
```
- To connect the emulator using `adb` on the docker host machine, start the container with `--net=host`.
+ To connect the emulator using `adb` on the docker host machine, start the container with `--network host` as well.
You could also use [`scrcpy`](https://github.com/Genymobile/scrcpy) to do a screencast of the emulator.
- Non-interactive way