Skip to main content
getosprey.app
โ† Blog
ยท6 min read

How to Manage Docker Containers From Your Phone

A container crashed, a stack needs restarting, and you are nowhere near a laptop. Here is how to check it, read its logs and fix it, straight from your phone.

Docker does not care what time it is or where you are standing. The good news is that managing Docker containers from your phone works exactly the way it does from a desk, because Docker is just another process on a Linux box reachable over SSH. You do not need a special container app, just a real terminal and the handful of commands you would run anyway.

What you need

  • An SSH app. A real terminal with xterm-compatible emulation and a keyboard toolbar, since Tab and Ctrl-C come up constantly when you're chasing down a container.
  • The host and a user with docker access. Either root, or a non-root user added to the docker group, so you aren't typing sudo in front of every command.
  • SFTP, for compose files. Editing a docker-compose.yml or an .env file without pulling out a laptop means having file access built in, not just a shell.

The commands you'll actually use

Once you're connected, this covers almost every phone-sized Docker job:

  • docker ps -a Lists every container, running or stopped, so you can spot the one that crashed.
  • docker logs -f <name> Tails a container's logs live, usually the fastest way to see why it died.
  • docker restart <name> Restarts a single container without touching the rest of the stack.
  • docker stats Live CPU and memory per container, useful when one of them is eating the box.
  • docker compose up -d Re-applies a compose file after you've edited it over SFTP.

Skipping the typing: a service list instead of a command line

Typing docker ps -a and scanning for the right container name is fine on a laptop and mildly annoying on a phone keyboard. An SSH app with a built-in service monitor can list running containers alongside systemd services, so restarting one is a tap on a list entry rather than a typed command, and the same view works whether the crashed thing is a container, a systemd unit, or a launchd job on a Mac.

Where this approach falls short

Worth being honest about: SSH plus the Docker CLI is the right tool for checking status, reading logs and restarting something that's already deployed, not for deep container management. Building new images, managing volumes and networks visually, or browsing a Compose stack as a diagram is a different job, and Portainer does it properly: its free, self-hosted Community Edition gives you a full web UI for containers, images, networks and volumes, a browser-based console into any container, and a live log viewer, reachable from your phone's browser since it's just a web app. If you want that level of visual control, run Portainer alongside whatever you use for SSH rather than instead of it. Editing a large compose file on a phone keyboard is also slower than on a real one, so treat the phone as the tool for a quick fix, not for restructuring a stack.

Our pick: Kestrel

We build Kestrel, an SSH and server manager for iPhone and Mac (Windows is coming soon), built with exactly this kind of on-call fix in mind. It has a full xterm-256 terminal with mosh-style reconnection so a dropped connection doesn't kill your session mid-command, native SFTP for compose and env files, and service management across systemd, launchd and docker, start, stop or inspect without typing a command. Run one command across your whole fleet at once if the same container needs restarting on several boxes, and an AI assistant can explain a cryptic error from a log before you even reach for a search engine. The free tier connects up to 3 servers with a full terminal and basic dashboard, no account required to start; SFTP, service control and cross-device sync are Pro features.

Manage your containers from your pocket

Add your first server free, no account needed to start.

For more on running infrastructure from your phone, see our posts on managing a VPS from your phone, managing a homelab from your phone, the best server monitoring app for iPhone, and how to SSH into a server from your iPhone.

Frequently asked questions

Can I manage Docker containers from my phone?

Yes. Over SSH you can list, inspect, restart and stop any container exactly as you would from a laptop, and an app with built-in service management can show running containers with start, stop and inspect actions, no typing required.

How do I restart a crashed Docker container from my phone?

SSH in, run docker ps -a to find it, then docker restart <name>. A built-in service monitor shows the same container in a list with a restart action instead.

Can I edit a docker-compose.yml file from my phone?

Yes, over SFTP. Open the file, edit it, save it back, then run docker compose up -d over SSH to apply the change. It's best for quick fixes; large edits are slower on a phone keyboard.