# upc-hub/docker_android_studio architecture

> Architecture diagram of the GitHub repository upc-hub/docker_android_studio, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/upc-hub/docker_android_studio
- Repository: https://github.com/upc-hub/docker_android_studio

## Overview

This repository provides Android Studio as a remotely accessed Docker-hosted desktop environment. A user connects to an authorized server session over SSH and runs `run.sh`, which the README says starts Android Studio; the administrator first installs Docker and pulls the published image. The tree also includes Android Studio profile and system data, but neither its runtime use nor the script’s implementation is shown, so their relationship to the launched environment cannot be verified.

Main entry points: [`run.sh`](https://github.com/upc-hub/docker_android_studio/blob/master/run.sh) (Launch script)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Remote access"]
  node_ssh["SSH session"]
  node_launcher["Launch script<br/>[run.sh]"]
end

subgraph group_runtime["Studio runtime"]
  node_docker["Docker host"]
  node_studio["Android Studio"]
  node_profile["Studio data"]
end

subgraph group_setup["Image setup"]
  node_admin(("Administrator"))
  node_hub["Docker Hub"]
  node_image["Studio image"]
end

node_user(("User"))

node_user -->|"connects via SSH"| node_ssh
node_ssh -->|"runs"| node_launcher
node_launcher -->|"starts"| node_studio
node_admin -->|"pulls image"| node_hub
node_hub -->|"provides"| node_image
node_docker -.->|"runs"| node_image

click node_launcher "https://github.com/upc-hub/docker_android_studio/blob/master/run.sh"
click node_profile "https://github.com/upc-hub/docker_android_studio/tree/master/studio-data"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_ssh,node_launcher,node_user toneBlue
class node_docker,node_studio,node_profile toneAmber
class node_admin,node_hub,node_image toneMint
```

## Components

### Remote access

- **SSH session**
- [Launch script](https://github.com/upc-hub/docker_android_studio/blob/master/run.sh): `run.sh`

### Studio runtime

- **Docker host**
- **Android Studio**
- [Studio data](https://github.com/upc-hub/docker_android_studio/tree/master/studio-data): `studio-data`

### Image setup

- **Administrator**
- **Docker Hub**
- **Studio image**

### Other components

- **User**

## Connections

- User → SSH session: connects via SSH (evidence: `README.md`)
- SSH session → Launch script: runs (evidence: `README.md`)
- Launch script → Android Studio: starts (evidence: `README.md`)
- Administrator → Docker Hub: pulls image (evidence: `README.md`)
- Docker Hub → Studio image: provides (evidence: `README.md`)
- Docker host → Studio image: runs
