GithubHelp home page GithubHelp logo

open-wa / wa-avd-docker Goto Github PK

View Code? Open in Web Editor NEW
135.0 135.0 38.0 62.22 MB

A Docker image based on Ubuntu Desktop with VNC and noVNC access, that runs a lightweight Android Virtual Device with WhatsApp pre-installed.

Home Page: https://hub.docker.com/r/yodascholtz/docker-android-whatsapp-avd/

License: Other

Dockerfile 46.62% Shell 53.38%
android avd docker virtual-machine whatsapp

wa-avd-docker's People

Contributors

alexeyaa avatar benschza avatar xeniter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wa-avd-docker's Issues

Emulator crashes whenever I click on anything from the toolbar

The emulator crashes whenever I click on any button from the toolbar with the following error:

[624:624:0304/225720.277559:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

Toolbar image for reference:
image

Android Emulator Does Not Start

Hi guys,

I'm running the docker-compose on Debian 9, and although the virtual environment does start, the android emulator doesn't.

I tried to run the command suggested in the Code session:
${ANDROID_HOME}/tools/emulator @Pixel -gpu off

But I had the following result:

venv (1)

I also tried to run the start-avd.sh, and obtained the following result:
venv2

And for last, I tried the entrypoint.sh script, but this happened:
venv3

Although I noticed that there already is an issue about this last script.

Am I not doing it properly?

Hope I provided all the needed information.
Thanks guys!

password for VNC

Hello, when access the url localhost:6080, this url ask the password.

where I can get the password? thanks.

KVM Acceleration

You can't run a VM-accelerated emulator inside another VM, such as a VM hosted by VirtualBox, VMWare, or Docker. You must run a VM-accelerated emulator directly on your host computer.

image

Anyone, can help me?

"Unknown AVD name [Pixel]"

Hello,
i tried to start the emulator, but nothings happens.

Tried the Command: ${ANDROID_HOME}/tools/emulator @Pixel -gpu off and @Pixel -gpu off in the directory, but that didnt work. Any idea?

image

Thanks!

Unable to run the docker-compose successfully

Looks like I'm getting some errors while trying to run this the first time:

Successfully built 86a4cf5d8020
Successfully tagged vm:latest
Starting docker-android-avd_vm_1 ... done
Attaching to docker-android-avd_vm_1
vm_1  | stored passwd in file: /.password2
vm_1  | * enable HTTP base authentication
vm_1  | Adding password for user root
vm_1  | ln: failed to create symbolic link '/usr/local/lib/web/frontend/static/novnc/utils/websockify/websockify': File exists
vm_1  | 2020-03-25 13:55:12,361 CRIT Supervisor running as root (no user in config file)
vm_1  | 2020-03-25 13:55:12,362 WARN Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
vm_1  | Unlinking stale socket /var/run/supervisor.sock
vm_1  | 2020-03-25 13:55:12,680 INFO RPC interface 'supervisor' initialized
vm_1  | 2020-03-25 13:55:12,680 CRIT Server 'unix_http_server' running without any HTTP authentication checking
vm_1  | 2020-03-25 13:55:12,680 INFO supervisord started with pid 20
vm_1  | 2020-03-25 13:55:13,687 INFO spawned: 'nginx' with pid 23
vm_1  | 2020-03-25 13:55:13,688 INFO spawned: 'android-avd' with pid 24
vm_1  | 2020-03-25 13:55:13,691 INFO spawned: 'web' with pid 25
vm_1  | 2020-03-25 13:55:13,692 INFO spawned: 'novnc' with pid 26
vm_1  | 2020-03-25 13:55:13,693 INFO spawned: 'wm' with pid 27
vm_1  | 2020-03-25 13:55:13,694 INFO spawned: 'pcmanfm' with pid 29
vm_1  | 2020-03-25 13:55:13,695 INFO spawned: 'lxpanel' with pid 30
vm_1  | 2020-03-25 13:55:13,696 INFO spawned: 'xvfb' with pid 31
vm_1  | 2020-03-25 13:55:13,697 INFO spawned: 'x11vnc' with pid 32
vm_1  | 2020-03-25 13:55:13,724 INFO exited: x11vnc (exit status 1; not expected)
vm_1  | 2020-03-25 13:55:13,821 INFO exited: nginx (exit status 1; not expected)
vm_1  | 2020-03-25 13:55:14,206 INFO  Listening on http://localhost:6079 (run.py:87)
vm_1  | 2020-03-25 13:55:15,046 INFO spawned: 'nginx' with pid 67
vm_1  | 2020-03-25 13:55:15,046 INFO success: android-avd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
vm_1  | 2020-03-25 13:55:15,046 INFO success: web entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
vm_1  | 2020-03-25 13:55:15,046 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
vm_1  | 2020-03-25 13:55:15,047 INFO success: wm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
vm_1  | 2020-03-25 13:55:15,047 INFO success: pcmanfm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
vm_1  | 2020-03-25 13:55:15,047 INFO success: lxpanel entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
vm_1  | 2020-03-25 13:55:15,047 INFO success: xvfb entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
vm_1  | 2020-03-25 13:55:15,048 INFO spawned: 'x11vnc' with pid 69
vm_1  | 2020-03-25 13:55:15,055 INFO exited: nginx (exit status 1; not expected)
vm_1  | 2020-03-25 13:55:16,089 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
vm_1  | 2020-03-25 13:55:17,092 INFO spawned: 'nginx' with pid 70
vm_1  | 2020-03-25 13:55:17,100 INFO exited: nginx (exit status 1; not expected)
vm_1  | 2020-03-25 13:55:20,106 INFO spawned: 'nginx' with pid 72
vm_1  | 2020-03-25 13:55:20,114 INFO exited: nginx (exit status 1; not expected)
vm_1  | 2020-03-25 13:55:21,115 INFO gave up: nginx entered FATAL state, too many start retries too quickly
vm_1  | 2020-03-25 13:55:29,142 INFO exited: android-avd (exit status 0; expected)

mknod: missing operand after '10'

I just did

  1. git clone
  2. docker-compose up -d
  3. connected via http://localhost:6080 with credentials root/secret
  4. I can see desktop(empty) -> Opened LXTerminal
  5. /app/entrypoint.sh

Seems can't create /dev/kvm with mknod

entrypoint_not_work

Please explain how i can run emulator with Pixel device..

Used Versions:

  • Ubuntu 18.04
  • Docker version 18.09.0, build 4d60db4
  • docker-compose version 1.23.1, build b02f1306

Thank you

Unread Messages - How to ?

Hi there!
just got to first use this docker version of openwa
looks really cool

can someone please help explain how do i subscribe to new messages?
something like subscribing to onMessage or getting unreadMessages

also, after I log in, how do I save my session

thank you very much ๐Ÿ™

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.