36 Containers outside class
Learning Objectives
- Find and run existing container images for uses outside data analysis
- Explain why apps run at home should stay on the home network
36.1 Running apps at home with containers
Running containers is not only for data analysis. Many people run apps for their own home in containers, on an always-on computer such as an old laptop, a mini PC or a Raspberry Pi, which is often called a home lab. Each app below publishes a container image, so trying one uses the same docker pull, docker run and docker compose commands as the earlier chapters. Many of them give you a docker-compose.yml file to start from, and several (Firefly III, Wardrowbe, Immich, Paperless-ngx and TeslaMate) run as a few containers that work together, like the services in Docker Compose. Each app’s name links to its instructions for running it with Docker.
| For | App | What it does | Image |
|---|---|---|---|
| Money | Firefly III | Tracks your spending, budgets and bills | fireflyiii/core |
| Money | Actual Budget | Envelope budgeting that syncs across your devices | actualbudget/actual-server |
| Clothes | Wardrowbe | Catalogs your wardrobe and suggests outfits with AI | ghcr.io/anyesh/wardrowbe |
| AI | Ollama | Runs open large language models on your own computer | ollama/ollama |
| AI | Open WebUI | A chat web page for the models Ollama runs | ghcr.io/open-webui/open-webui |
| AI | n8n | Automates workflows that connect apps and AI models | n8nio/n8n |
| Media | Jellyfin | Streams your own movies, shows and music to your devices | jellyfin/jellyfin |
| Media | Plex Media Server | Streams your own media too; free to use, but not open source | plexinc/pms-docker |
| Media | Audiobookshelf | Serves your audiobooks and podcasts | ghcr.io/advplyr/audiobookshelf |
| Home office | Nextcloud | Files, calendars, contacts and office documents, like Google Drive | nextcloud/all-in-one |
| Home office | Immich | Backs up and organizes your photos and videos, like Google Photos | ghcr.io/immich-app/immich-server |
| Home office | Paperless-ngx | Scans your paper documents and makes them searchable | ghcr.io/paperless-ngx/paperless-ngx |
| Home office | Vaultwarden | A password manager server that works with the Bitwarden apps | vaultwarden/server |
| Home office | Mealie | Stores your recipes and plans your meals | ghcr.io/mealie-recipes/mealie |
| Home | Home Assistant | Controls and automates your smart-home devices | ghcr.io/home-assistant/home-assistant |
| Home network | Pi-hole | Blocks ads for every device on your home network | pihole/pihole |
| Home network | AdGuard Home | Also blocks ads network-wide | adguard/adguardhome |
| Home network | Uptime Kuma | Checks that your apps and websites are up, and alerts you when they are not | louislam/uptime-kuma |
| Home network | Homepage | A start page with links to all your apps | ghcr.io/gethomepage/homepage |
| Data | Metabase | Charts and dashboards over your own databases, without code | metabase/metabase |
| Data | Grafana | Dashboards for data over time, such as sensor readings | grafana/grafana |
| Car | TeslaMate | Logs your Tesla’s drives, charging and battery data | teslamate/teslamate |
36.2 Managing many containers
Once you run several apps, a web page that shows all of your containers helps. Portainer (portainer/portainer-ce) is the best known one, and its Community Edition is open source. Dockhand (fnsys/dockhand) is a newer alternative. Both start, stop and update containers and Compose stacks, and show their logs, from your browser. Dockhand is free for personal use, such as a home lab, and for schools and universities, but businesses pay to use it in production.
Both run with Docker’s socket (/var/run/docker.sock) mounted into their container, which lets them control every container on the computer. Only give that access to tools you trust.
Keep home-lab apps on your home network. Opening a port on your router to reach them from outside puts them on the internet, where anyone can try to log in. To reach them when you are away, use a private network (VPN) instead, such as Tailscale.