budtmo / budtmo/docker-android
[🐛 Bug ]: docker-android device start ... error
- Dominant language
- Python
- Stars
- 15.8k
- Forks
- 1.8k
- Avg merge
- 12h 13m
- Merged PRs (30d)
- 6
Description
### Operating System
Ubuntu 20.04
### Docker Image
lastest
### Expected behaviour
The first run is ok, everything work perfect as expected. But when i restart the container, the problem starting ...
```
2023-07-15 06:26:07,015 INFO success: device entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-07-15 06:26:07,162 INFO exited: device (exit status 1; not expected)
2023-07-15 06:26:08,165 INFO spawned: 'device' with pid 586
2023-07-15 06:26:09,607 INFO success: device entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-07-15 06:26:09,772 INFO exited: device (exit status 1; not expected)
2023-07-15 06:26:10,775 INFO spawned: 'device' with pid 590
2023-07-15 06:26:12,204 INFO success: device entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-07-15 06:26:12,262 INFO exited: device (exit status 1; not expected)
2023-07-15 06:26:13,265 INFO spawned: 'device' with pid 594
2023-07-15 06:26:14,688 INFO success: device entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-07-15 06:26:14,747 INFO exited: device (exit status 1; not expected)
2023-07-15 06:26:15,750 INFO spawned: 'device' with pid 598
2023-07-15 06:26:17,193 INFO success: device entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-07-15 06:26:17,289 INFO exited: device (exit status 1; not expected)
2023-07-15 06:26:18,292 INFO spawned: 'device' with pid 602
2023-07-15 06:26:19,687 INFO success: device entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-07-15 06:26:19,745 INFO exited: device (exit status 1; not expected)
2023-07-15 06:26:20,749 INFO spawned: 'device' with pid 606
2023-07-15 06:26:22,189 INFO success: device entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-07-15 06:26:22,247 INFO exited: device (exit status 1; not expected)
```
I tried with the command by reading python code
```
> shell inside container: docker-android start device
```

i tried with other command directly from emulator in container
```
> shell inside container: emulator -list-avds (get list emulator named as "android" in config EMULATOR_NAME': 'android')
> shell inside container: emulator -avd android
```

### Actual behaviour
So, the container is unable to restart or shutdown, if we let it run after create with docker cli, it's all fine. To temporary solve this problem, i need to delete the container and start it again.
### Logs
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.