Keep your containers up-to-date with confidence and control.
10K+
captn is an intelligent, rule-based container updater that automatically manages container updates using semantic versioning and registry metadata.
Keep your containers up-to-date with confidence and control.
Note: This project is currently in an early and active development phase. While captn is functional and ready for testing, we're continuously improving and adding new features.
โ ๏ธ Docker Compose: captn has been developed and tested exclusively with containers created via
docker runcommands. Docker Compose support is currently untested and may not work as expected. If you're using Docker Compose and encounter issues, please report them so we may improve compatibility if possible.
We welcome testers and contributors! If you'd like to help shape captn, we're especially looking for contributions in:
Your feedback and contributions are highly valued as we work towards a stable release!
# Create directories for configuration and log files
mkdir -p ~/captn/{conf,logs}
# Run captn container with proper volume mounts
docker run -d \
--name captn \
--restart unless-stopped \
-e TZ=Europe/Berlin \
-v /etc/localtime:/etc/localtime:ro \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ~/captn/conf:/app/conf \
-v ~/captn/logs:/app/logs \
captnio/captn:0.9.0
By default, captn runs in normal mode but all containers are assigned to the default rule which does not allow any updates at all for safety reasons. To get a preview of what captn would do, you can:
Assign containers to different rules in the configuration file
Run in dry-run mode to see what would be updated:
# Preview what would be updated
docker exec captn captn --dry-run
# Run actual updates (after reviewing dry-run results)
docker exec captn captn
captn supports executing custom scripts before and after updates:
Get updates about captn's activities:
For detailed configuration options, advanced usage, and troubleshooting, please refer to:
We welcome contributions! captn is in active development and we're particularly interested in:
Feel free to open an issue to discuss your ideas or submit a pull request directly. Every contribution, no matter how small, is appreciated!
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0) - see the LICENSEโ file for details.
โ ๏ธ Important: Always test with --dry-run first to understand what captn will do before running actual updates.
Brewed with โค๏ธ and loads of ๐บ
GitHubโ โข Docker Hubโ โข Issuesโ
Content type
Image
Digest
sha256:146cf1fb2โฆ
Size
47 MB
Last updated
about 1 month ago
docker pull captnio/captn:dev-0.10.0