budtmo / budtmo/docker-android

[🐛 Bug ]: Cannot start on Synology NAS

Open
#466 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
15.8k
Forks
1.8k
Avg merge
12h 13m
Merged PRs (30d)
6

Description

### Operating System

DSM 7.2.1

### Docker Image

budtmo/docker-android:emulator_13.0

### Expected behaviour

docker container enters a running state.

### Actual behaviour

It's not clear to me if docker-android will function on DSM v7.

I assume there's a kvm dependency for the container; is this correct?

Has anyone had success running any of the images on DSM v7?

```
ash-4.4# docker compose -f /volume1/docker/docker-compose-yml/android.yml up -d
[+] Running 27/1
✔ android 26 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 328.0s
WARN[0328] Found orphan containers ([plex picard sonarr radarr jellyfin duckdns lidarr bazarr qbittorrent sabnzbd overseerr prowlarr]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
[+] Running 0/1
⠸ Container android_emulator Starting 7.4s
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/home/androidusr/docker-android/mixins/scripts/run.sh": stat /home/androidusr/docker-android/mixins/scripts/run.sh: permission denied: unknown
```

The docker compose file is as follows:

```
version: '3.8'
services:
android:
image: budtmo/docker-android:emulator_13.0
container_name: android_emulator
ports:
- "5037:5037" # ADB server
- "5554:5554" # Emulator console
- "5555:5555" # ADB device
- "6080:6080" # VNC
environment:
- EMULATOR_DEVICE="Samsung Galaxy S10" # Adjust device if necessary
- WEB_VNC=true
- APPIUM=false # Disable Appium if not needed
- AUTO_RECORD=false
volumes:
- /volume1/docker/android/androidusr:/home/androidusr
restart: unless-stopped
networks:
vlan10:
ipv4_address: 192.168.10.90
dns:
- 192.168.1.1

networks:
vlan10:
external: true
```

Permissions on the directory are as follows:
```
ash-4.4# stat /volume1/docker/android/androidusr
File: /volume1/docker/android/androidusr
Size: 0 Blocks: 0 IO Block: 4096 directory
Device: 25h/37d Inode: 17918017 Links: 1
Access: (0700/drwx------) Uid: ( 1026/theusername) Gid: ( 100/ users)
Access: 2024-11-24 22:07:38.729244263 -0500
Modify: 2024-11-24 11:49:59.021044852 -0500
Change: 2024-11-24 22:07:35.099226282 -0500
Birth: -
```

Any assistance is appreciated.

### Logs

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.