Useful Docker Commands
docker stop $(docker ps -a -q)
docker start $(docker ps -a -q)
docker start $(comm -13 <(docker ps -a -q --filter="name=watchtower" | sort) <(docker ps -a -q | sort))
docker rm $(docker ps -a -q)
docker rm -f $(docker ps -a -q)
/opt/scripts/docker/restart_containers.sh
Find the container name: docker ps -a
Live log (from the beginning of the log):
docker logs -follow <container_name>
Live log (from the last 10 lines of the log):
docker logs --follow --tail 100 <container_name>
Live log (from the last 10 lines of the log) - abbreviated:
docker logs -f --tail 100 <container_name>
Don't want a certain docker container? You can remove it with the follow steps.
Note: Certain docker containers are essential to Cloudbox (e.g. nginx-proxy, letsencrypt).
Via Command line:
- Get a list of docker container's installed:
docker ps -a
- Remove the one you don't want (where
<name>
is replaced with the docker container's name):docker stop <name> && docker rm <name>
Via Portainer:
- https://portainer.yourdomain.com
- "Containers" --> make your selection --> "Remove"
To display information on existing certificates:
docker exec letsencrypt /app/cert_status
To force renew certificates that need to be renewed:
docker exec letsencrypt /app/signal_le_service
To force renew all certifications:
docker exec letsencrypt /app/force_renew
If the previous method does not work or returns an error try
cb install letsencrypt,nginx-proxy
Tool to automaticaly update Docker images and containers.
Note: We recommend you manually update the docker images and containers via their Ansible tags. Updating Docker containers with Watchtower has been known to cause data corruption. So use at your own risk.
docker start watchtower && docker logs -f watchtower
Wait 15 secs for it to finish updating all images except rutorrent (it ignores).. then:
docker stop watchtower
If no updates, stop anyway.
- Overview
- Presumptions
- Server
- Domain Name
- Cloudflare
- Cloud Storage
- Plex / Emby - Account
- Usenet vs. BitTorrent
Cloudbox
- Overview
- Dependencies (Choose only one of these)
- Settings
- Preinstall (Choose only one of these)
- SSH
- Ansible Vault
- Rclone
- Cloudbox (Choose only one of these)
- Application Setup
- Next Steps
Feederbox (do this first)
- Overview
- Dependencies
- Settings
- Preinstall
- SSH
- Ansible Vault
- Rclone
- Feederbox (Choose only one of these)
- Application Setup
- Next Steps
Mediabox
- Overview
- Dependencies
- Settings
- Preinstall
- SSH
- Ansible Vault
- Rclone
- Mediabox (Choose only one of these)
- Application Setup
- Next Steps
- Cloudplow (Media Uploader)
- cb utility script (Develop branch only}
- Updating Cloudbox (Choose only one of these)
- Updating Cloudbox Apps
- Removing Cloudbox Apps
- Resetting Cloudbox Apps
- Migrating Cloudbox
- Settings Updater
- Ansible Vault Primer
- Plex Access Token
- Plex Autoscan Extras
- Pushover
- Google Drive API Client ID and Client Secret
- Useful Docker Commands
- Add Your Own Docker Container into Cloudbox
- Revoking SSL Certificates
- Feeder Mount
- Adding a Subdomain
- HTTP Auth Support
- Emby
- Nextcloud
- Resilio Sync
- Plex DupeFinder
- Heimdall
- NZBHydra v1
- Plex Requests
- Sickbeard MP4 Automator
- SABnzbd
- Traktarr
See Community Wiki.