{"id":21479441,"url":"https://github.com/rycus86/docker-android-studio","last_synced_at":"2026-03-19T20:33:52.039Z","repository":{"id":42033539,"uuid":"189591138","full_name":"rycus86/docker-android-studio","owner":"rycus86","description":"Docker container to run Android Studio (https://developer.android.com/studio/index.html)","archived":false,"fork":false,"pushed_at":"2022-04-16T20:17:30.000Z","size":1,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T08:11:32.115Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rycus86.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-31T12:35:24.000Z","updated_at":"2019-05-31T12:36:12.000Z","dependencies_parsed_at":"2022-08-12T03:00:26.184Z","dependency_job_id":null,"html_url":"https://github.com/rycus86/docker-android-studio","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rycus86/docker-android-studio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rycus86%2Fdocker-android-studio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rycus86%2Fdocker-android-studio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rycus86%2Fdocker-android-studio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rycus86%2Fdocker-android-studio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rycus86","download_url":"https://codeload.github.com/rycus86/docker-android-studio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rycus86%2Fdocker-android-studio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29535934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T05:00:25.817Z","status":"ssl_error","status_checked_at":"2026-02-17T04:57:16.126Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-23T11:25:20.718Z","updated_at":"2026-02-17T06:03:35.890Z","avatar_url":"https://github.com/rycus86.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"Docker container to run Android Studio (https://developer.android.com/studio/index.html)\n\n## Usage\n\n```\ndocker run --rm \\\n  --privileged \\\n  -e DISPLAY=${DISPLAY} \\\n  --device /dev/dri \\\n  --device /dev/video0 \\\n  --device /dev/snd \\\n  --device /dev/kvm \\\n  -v /tmp/.X11-unix:/tmp/.X11-unix \\\n  -v /dev/bus/usb:/dev/bus/usb \\\n  -v /usr/share/X11/xkb:/usr/share/X11/xkb:ro \\\n  -v ~/.AndroidStudio:/home/developer/.AndroidStudio \\\n  -v ~/.AndroidStudio.android:/home/developer/.android \\\n  -v ~/.AndroidStudio.java:/home/developer/.java \\\n  -v ~/.AndroidStudio.gradle:/home/developer/.gradle \\\n  -v ~/.AndroidStudio.sdk:/home/developer/Android/Sdk \\\n  -v ~/Project:/home/developer/Project \\\n  --name androidstudio-$(head -c 4 /dev/urandom | xxd -p)-$(date +'%Y%m%d-%H%M%S') \\\nrycus86/androidstudio:3.4\n```\n\nExplanation:\n\n- `--privileged` - to have access to USB devices connected to the host .AndroidStudio* folders to keep the data on the host between different instances (like SDK tools, AVDs, etc.)\n- Local project directories need to be mounted into the container\n- The name can be anything - I used something random to be able to start multiple instances if needed\n\n## Notes\n\nThe container has Git installed. It also has Kotlin installed. The container runs as a non-root user but that user is part of the root group to be able to use KVM. When Android Studio starts for the first time it might display a warning about KVM not working but it does actually.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frycus86%2Fdocker-android-studio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frycus86%2Fdocker-android-studio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frycus86%2Fdocker-android-studio/lists"}