# Containers (Docker & Apple Container)

Canonical: https://galaxnet.dev/nova/manual/containers/docker/
Language: en-US

Inspect container status, live CPU/memory/I/O stats, and logs, open an interactive shell, manage lifecycles, and deploy containers over SSH.






Applies to: iOS 15+ · iPadOS 15+ · Mac · Inspect, logs, shell & lifecycle Free · Deploy Container Pro · SSH user with Docker or Apple Container CLI access










NovaScale manages both **Docker** (Linux and macOS) and **Apple Container** (macOS) directly over SSH—so you never need to expose the Docker daemon over TCP or run a web control panel just to check containers from your phone.

![NovaScale Containers screen showing Running container with CPU and Memory ring gauges, network and block I/O, Stopped containers, and Deploy button](https://galaxnet.dev/nova/manual/containers-list.jpg)

![NovaScale Container Detail view showing container name, Docker runtime, ID, image, creation date, command, and running status](https://galaxnet.dev/nova/manual/container-detail.jpg)

*Open Containers from Host Detail to see live resource rings, inspect metadata and logs, open a Ghostty shell inside a container, or tap + to deploy a new one.*

## Inspect containers, logs, and interactive shells

1. Open a Linux, macOS, or traditional host on **Hosts** and tap **Containers** *(the tile appears automatically for hosts that support container management)*.
2. **Live overview:** Running containers display live **CPU %** and **Memory** rings, **Network I/O**, **Block I/O**, runtime version (`Docker` or `Apple Container`), image tag, and uptime. Stopped containers appear below.
3. **Container Detail:** Tap any container to view its full ID, image, entrypoint command, status, restart policy, exit code, **Logs**, lifecycle controls (**Start**, **Stop**, **Restart**), and **Terminal** (opens an interactive container shell powered by NovaScale's Ghostty + Metal renderer).

## Deploy a container (Pro)

Tap **+** in the top-right corner of **Containers** to launch a new container without writing a long `docker run` command on a phone keyboard:

- Choose the detected **Runtime** (`Docker` or `Apple Container`), **Image** reference, optional **Container Name**, **Pull Policy**, and **Restart Policy** (Docker).
- Add **Port Mappings**—for tailnet hosts, NovaScale defaults the bind address to the host's `100.x.y.z` tailnet IP (or `127.0.0.1` for non-tailnet hosts) so you don't accidentally expose a new service to `0.0.0.0`.
- Configure **Volume Mounts**, **Environment Variables**, and optional **Memory / CPU Limits**.

## Host prerequisites (non-root SSH user)

NovaScale runs standard CLI commands (`docker ps`, `docker stats --no-stream`, `docker logs`, `docker exec`) over your configured SSH account—without interactive `sudo` prompts.

- **Standard Linux:** Add a dedicated SSH user to the `docker` group (`sudo usermod -aG docker <user>`), then start a fresh SSH login and confirm `docker ps` succeeds without `sudo`.
- **Synology DSM (Container Manager):** DSM often creates `/var/run/docker.sock` owned by `root:root`; create a `docker` group via `synogroup` and set `chown root:docker /var/run/docker.sock && chmod 660 /var/run/docker.sock`.
- **Security note:** Access to the Docker Unix socket is effectively host-administrative privilege. Grant it only to an account you trust, use SSH key authentication, and keep the host on a private tailnet.

For the full Linux and Synology DSM step-by-step setup (including boot-persistence tips and troubleshooting), read [Monitor Docker Stats in NovaScale with a Normal SSH User](../../../articles/docker-stats-ssh-normal-user/).


