SSH Key vs Password Authentication: Which Should You Use?
SSH key vs password authentication: why keys beat passwords for almost every server login, when passwords still make sense, and how to set up key auth.
Practical guides on running, monitoring, and securing Docker on remote servers, plus how to do it from your phone.
SSH key vs password authentication: why keys beat passwords for almost every server login, when passwords still make sense, and how to set up key auth.
SSH into any server from your phone using a terminal app, an SSH key, and the server's IP. Here's the exact setup, the commands, and the security steps.
The safest way to secure the Docker remote API is to not expose it over TCP at all. Use an SSH tunnel, or if you must open a port, require mutual TLS.
Schedule Docker backups with a small shell script and a cron job that tars each named volume through a throwaway container, then verify and prune old copies.
Run a Docker container as a non-root user using the USER instruction, the --user flag, and rootless mode. Practical commands, plus fixes for permission errors.
SSH into your server and run docker restart <name>, or use restart policies and phone-based tools to bring a container back without touching a laptop.
Manage Docker on remote servers over SSH: run commands, tunnel the daemon socket, use docker context, and secure the whole setup without exposing the API.
Practical techniques to reduce Docker image size: slim base images, multi-stage builds, single-layer cleanup, .dockerignore, and measuring what shrank.
Read Docker logs on mobile over SSH with docker logs -f, tail, grep, and journald. Commands, filtering tips, and how to do it fast without a laptop nearby.
Prune Docker images safely with the right flags, filters, and a dry-run habit so you reclaim disk space without deleting the images or data you still need.
Store SSH keys in your phone's Secure Enclave or Keystore, gate them behind biometrics, set a per-key passphrase, and scope each key to a single host.
Track Docker container CPU and memory with docker stats, cgroup files, and cAdvisor. Live commands, real flags, and how to catch an OOM kill before it happens.
Manage a VPS from your phone with an SSH client, key-based auth, and a Docker-aware app. Restart services, read logs, and monitor server resources anywhere.
Run and maintain your own private Docker registry: set it up with TLS and auth, push and pull images, run garbage collection, and keep it secure at scale.
Manage multiple Docker hosts from one place using SSH config, Docker contexts, and remote monitoring so you stop juggling terminal tabs and IP addresses.
You manage Docker from your phone over SSH: run docker CLI commands in a terminal app or use a mobile client that speaks to the Docker API on the host.
A practical runbook for a docker host down incident: confirm the outage, triage over SSH, recover containers safely, and stop the same failure from recurring.
A Docker container in a restart loop is crashing right after start. Read the exit code and last logs, then fix the config, dependency, or bad command behind it.
Docker vs Podman in 2026: both run OCI containers but differ on daemons, rootless defaults, pods, and Compose. Here is how to pick the right one for you.
A practical guide to Docker uptime monitoring for small teams: health checks, restart policies, lightweight tools, and getting alerted before users notice.
A practical guide to the docker stats command: reading CPU, memory, and network output, formatting it, filtering containers, and its real limitations.
A hands-on comparison of Trivy, Grype, Docker Scout, Clair, and Snyk for scanning Docker images, with real commands, honest tradeoffs, and CI pipeline tips.
Practical Docker security for production: non-root users, dropped capabilities, image scanning, secrets, daemon socket lockdown, and sane resource limits.
A practical guide to Docker secrets management: why environment variables leak, how Swarm and Compose secrets work, BuildKit build-time secrets, and Vault.
Run docker ps on your phone over SSH: format the cramped output for a small screen, filter down to dead containers, and get alerted when a host drops.
SSH and TLS both secure remote Docker access. SSH is safer and simpler for most people because it reuses hardening you already have. Here's when to pick each.
How Docker networking actually works: the bridge, host, and none drivers, container DNS, port publishing, and the commands you need to debug it quickly.
Scan Docker images for CVEs using Trivy, docker scout, and Grype. Learn to gate builds in CI, triage findings by severity, and re-scan the images running now.
A Docker health check is a command Docker runs inside a container to confirm the app actually responds. Here's how to write one in Dockerfile and Compose.
Run your first Docker homelab: install the engine, launch containers with Compose, persist data with volumes, and keep services healthy on cheap hardware.
Docker exit code 137 means your container was killed by SIGKILL, almost always the Linux OOM killer reclaiming memory. Here is how to confirm it and fix it.
Run docker exec on a remote server from your phone over SSH: drop into a container shell, fix the common TTY error, and patch a live box without a laptop.
Docker context runs your docker commands against a remote host over SSH without a shell login. Set it up, switch between hosts, and avoid the common traps.
A practical guide to monitoring Docker containers: metrics that matter, docker stats, health checks, logs, and alerting on failures before users notice.
Copy your compose file to a remote server over SSH and run docker compose up -d, or use a Docker context to deploy from your laptop. Full walkthrough.
A practical checklist for when a Docker container won't start: read the exit code, check the logs, fix the config, and get the container back up fast.
Reclaim Docker disk space safely: audit usage with docker system df, prune dangling images and stopped containers, and protect named volumes from deletion.
A practical comparison of the best Docker mobile apps in 2026, covering SSH-based remote management, monitoring, alerts, and what each one actually does well.
Back up a Docker volume by mounting it into a temporary container and tarring it to the host. Here's how to do it safely, restore it, and move it elsewhere.
Set up reliable Docker container down alerts using restart policies, health checks, and monitoring tools so you know the moment a container stops or fails.