Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make container usage more suitable for persistent VMs #7

Open
ShadowJonathan opened this issue Nov 29, 2020 · 0 comments
Open

Make container usage more suitable for persistent VMs #7

ShadowJonathan opened this issue Nov 29, 2020 · 0 comments

Comments

@ShadowJonathan
Copy link

I'm looking to use this container image for more "permanent" docker-based android VMs, I can see i can do that by doing the following;

  1. convert docker run command into composer command
  2. edit docker-compose file to bind /root/.android/avd to somewhere
  3. edit docker-compose file to have its entry command be /usr/bin/supervisord
  4. do docker-compose run android /entrypoint.sh pause to let the avd manager create a VM
  5. do docker-compose up -d to let the VM run

is it possible to split this into;

  1. grab docker-compose example file from repo
  2. do docker-compose run android create to run internal /create (or similar) script that makes the avd
  3. do docker-compose up -d to let android vm run

Either that, or auto-detect and skip when the AVD has already been created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant