Skip to content

Releases: scttfrdmn/qnap-docker

qnap-docker v0.2.2 - Comprehensive Integration Testing

15 Sep 02:46

Choose a tag to compare

🧪 Major testing infrastructure release with 90%+ integration coverage

🎯 What's New in v0.2.2

🧪 Complete Integration Test Suite

  • 40+ Command Validation on real QNAP hardware with Container Station
  • 90%+ Integration Coverage for production confidence
  • Real Hardware Testing verified on QNAP NAS with Docker 27.1.2-qnap4
  • Production-Grade Reliability through comprehensive end-to-end validation

📋 Test Categories

Container Operations Testing

  • logs - Log retrieval with timestamps, tailing, and follow modes
  • exec - Interactive and non-interactive command execution with user switching
  • start/stop/restart - Complete container lifecycle control with state verification
  • stats - Real-time resource monitoring and statistics validation

Image Management Testing

  • pull - Image pulling with registry interactions and platform options
  • images - Image listing with filtering, digests, and format options
  • rmi - Image removal and cleanup verification
  • export/import - Container backup and restore workflow validation

Volume Management Testing

  • Complete volume lifecycle (create, list, inspect, remove)
  • Data persistence validation with in-container file operations
  • Volume mounting scenarios across QNAP storage types
  • Volume cleanup and resource management verification

Network Management Testing

  • Custom network creation with CIDR configuration and gateways
  • Container connectivity across networks with alias support
  • Network isolation and inter-container communication testing
  • Network cleanup and resource management

System Operations Testing

  • system df - Disk usage monitoring and reporting validation
  • system info - System information retrieval and format testing
  • system prune - Resource cleanup verification with actual cleanup
  • Object inspection with format templates and detailed output

🔧 Advanced Test Infrastructure

Test Helpers Enhanced

  • Container State Management - Wait for specific states with configurable timeouts
  • Resource Verification - Validate images, volumes, networks exist or are properly removed
  • In-Container Operations - Create and read files within containers for persistence testing
  • Network Connectivity - Test inter-container communication and isolation
  • Comprehensive Cleanup - Automatic cleanup preventing resource pollution between tests

QNAP-Specific Testing

  • ZFS Volume Detection - Test across ZFS*_DATA storage pools (ZFS530_DATA, etc.)
  • CACHEDEV Support - Multi-CACHEDEV volume testing and compatibility
  • Container Station Paths - Dynamic Docker binary detection across storage configurations
  • Storage Pool Compatibility - Cross-volume testing and migration scenarios

📚 Enhanced Documentation

Integration Test Guide

  • Comprehensive Setup - Detailed QNAP NAS preparation and configuration
  • Test Execution - Multiple test modes, categories, and targeting options
  • Troubleshooting - Common issues, resolution steps, and debugging guides
  • Best Practices - Test development patterns and CI/CD integration guidelines

Quality Assurance

  • Improved Docker Detection - Better fallback paths for various QNAP configurations
  • Enhanced Error Handling - Detailed error messages and debugging information
  • Professional Documentation - Enterprise-grade documentation standards

Validated Test Results

Successfully Tested on Real QNAP Hardware:

  • Container Operations - ALL PASS (logs, exec, lifecycle, stats)
  • Basic Integration - SSH, Container Station detection, volume discovery
  • Docker Compatibility - Docker 27.1.2-qnap4 fully validated
  • Multi-Volume Support - CACHEDEV + ZFS storage pools confirmed
  • Dynamic Detection - Container Station found across storage configurations

🏗️ Architecture Features

  • Dynamic Docker Detection - Automatically finds Container Station across volumes
  • Multi-Volume Support - CACHEDEV, ZFS, USB, external storage compatibility
  • Real-time Operations - Log streaming, stats monitoring, interactive execution
  • Professional Testing - Production-grade validation infrastructure
  • Comprehensive Cleanup - Resource management preventing test pollution

📦 Installation

Homebrew (Recommended)

brew tap scttfrdmn/qnap-docker
brew install qnap-docker

Direct Download

Download the appropriate binary for your platform from the assets below.

🧪 Running Integration Tests

Comprehensive Test Suite

# Test all 40+ commands on your QNAP
QNAP_HOST=your-qnap.local go test -v -integration \
  -nas-host=your-qnap.local -nas-user=admin \
  -run TestComprehensiveCommandSuite ./tests/integration/

# Test specific categories
QNAP_HOST=your-qnap.local go test -v -integration \
  -run TestComprehensiveCommandSuite/ContainerOperations ./tests/integration/

QNAP_HOST=your-qnap.local go test -v -integration \
  -run TestComprehensiveCommandSuite/VolumeManagement ./tests/integration/

Basic Connectivity Tests

# Test basic QNAP connectivity and Container Station
QNAP_HOST=your-qnap.local go test -v \
  -run TestConnectionToQNAP ./tests/integration/ -short=false

# Test CLI commands
QNAP_HOST=your-qnap.local go test -v \
  -run TestQNAPDockerEndToEnd ./tests/integration/ -short=false

📖 Resources

Sister project to syno-docker with comprehensive testing for production reliability.


Made with ❤️ for the QNAP community

qnap-docker v0.2.1 - Documentation and Roadmap

15 Sep 01:28

Choose a tag to compare

🗺️ Documentation polish release with comprehensive roadmap

📚 What's New in v0.2.1

🗺️ Development Roadmap Added

  • Comprehensive roadmap through v1.0.0 with clear development phases
  • Timeline planning with quarterly milestones and priorities
  • Community priorities guidance for feature requests and contributions
  • Long-term vision for QNAP QTS integration and enterprise features

📊 Documentation Improvements

  • Accurate command count: 21 main commands + 18 subcommands
  • Enhanced support section with roadmap reference
  • Removed non-existent email support - focus on GitHub issues/discussions
  • Community engagement guidelines for better collaboration

🚀 Current Capabilities (Unchanged)

qnap-docker v0.2.1 maintains the complete Docker management suite from v0.2.0:

  • 21 Main Commands covering complete Docker workflow
  • 18 Subcommands for advanced operations (volume, network, system management)
  • Dynamic Docker Detection across QNAP storage pools
  • Multi-Volume Support (CACHEDEV, ZFS, USB, external)
  • Real-time Operations (logs --follow, stats monitoring)
  • Interactive Execution (exec -it with TTY support)

🛣️ Roadmap Highlights

Upcoming Releases

  • v0.2.2 (Oct 2025): Comprehensive integration testing
  • v0.3.0 (Q4 2025): Enhanced compose operations
  • v0.4.0 (Q1 2026): Multi-NAS support with profiles
  • v0.5.0 (Q2 2026): Health monitoring & operations
  • v1.0.0 (Q4 2026): Enterprise-ready with QTS integration

Long-term Vision

  • QTS Integration: Native QTS package with web interface
  • Advanced Features: Docker Swarm, secrets management, CI/CD
  • Enterprise Tools: Role-based access, audit logging, API server

Verified Compatibility

  • QNAP Container Station - Dynamic detection across storage pools
  • Docker 27.1.2-qnap4 - Tested on real QNAP hardware
  • ZFS & CACHEDEV - Full support for all QNAP storage types
  • Multi-Platform - macOS (Intel/Apple Silicon), Linux (amd64/arm64)

📦 Installation

Homebrew (Recommended)

brew tap scttfrdmn/qnap-docker
brew install qnap-docker

Direct Download

Download the appropriate binary for your platform from the assets below.

📖 Quick Start

# Setup connection
qnap-docker init your-nas.local

# Deploy container with networking
qnap-docker run nginx:latest --name web --port 80:80
qnap-docker network create app-net --subnet 172.20.0.0/16  
qnap-docker network connect app-net web

# Monitor and manage
qnap-docker logs web --follow
qnap-docker stats --all --no-stream
qnap-docker system df --verbose

🔗 Resources

Sister project to syno-docker for Synology NAS systems.


Made with ❤️ for the QNAP community

qnap-docker v0.2.0 - Complete Docker Management Suite

15 Sep 01:18

Choose a tag to compare

🚀 Major feature release bringing comprehensive Docker management to QNAP NAS!

🆕 What's New in v0.2.0

🛠️ Complete Docker Management Suite

  • 15 New Commands + 18 Subcommands = 41 total commands
  • Full feature parity with syno-docker v0.2.0
  • Complete Docker workflow from deployment to maintenance

📦 New Command Categories

Container Operations

  • qnap-docker logs - View container logs (follow, tail, timestamps)
  • qnap-docker exec - Execute commands inside containers (interactive mode)
  • qnap-docker start/stop/restart - Complete container lifecycle control
  • qnap-docker stats - Real-time resource usage monitoring

Image Management

  • qnap-docker images - List images with filtering and digest support
  • qnap-docker pull - Pull images with platform-specific options
  • qnap-docker rmi - Remove images with force options
  • qnap-docker import/export - Container backup and restore

Volume Management

  • qnap-docker volume ls/create/rm/inspect/prune - Complete volume lifecycle
  • Custom driver support and metadata labels
  • Unused volume cleanup and disk space management

Network Management

  • qnap-docker network ls/create/rm/inspect - Network lifecycle
  • qnap-docker network connect/disconnect - Container network management
  • Advanced networking with CIDR, gateways, IPv6 support

System Operations

  • qnap-docker system df - Docker disk usage monitoring
  • qnap-docker system info - Comprehensive system information
  • qnap-docker system prune - Cleanup unused containers, images, networks

Advanced Tools

  • qnap-docker inspect - Detailed object inspection (containers, images, volumes, networks)

Enhanced Capabilities

  • Real-time Monitoring: Live container stats and log streaming
  • Interactive Execution: Full TTY support for container commands (exec -it)
  • Advanced Networking: Custom bridge networks with CIDR configuration
  • Volume Persistence: Named volume management with custom drivers
  • System Maintenance: Comprehensive cleanup and resource monitoring
  • Professional Backup: Container export/import functionality

🏗️ Architecture Improvements

  • Dynamic Docker Detection - Works with any QNAP storage configuration
  • Multi-Volume Support - CACHEDEV, ZFS, USB, external storage compatibility
  • Stream Handling - Real-time commands (logs --follow, stats)
  • Interactive Mode - TTY allocation and interactive shells
  • Resource Monitoring - System and container performance metrics

Verified Compatibility

  • QNAP Container Station - Dynamic detection across storage pools
  • Docker 27.1.2-qnap4 - Tested on real QNAP hardware
  • ZFS Storage Pools - Full support for ZFS*_DATA volumes
  • CACHEDEV Volumes - Traditional CACHEDEV*_DATA support
  • Multi-Platform - macOS (Intel/Apple Silicon), Linux (amd64/arm64)

📦 Installation

Homebrew (Recommended)

brew tap scttfrdmn/qnap-docker
brew install qnap-docker

Direct Download

Download the appropriate binary for your platform from the assets below.

🚀 Example Workflows

Complete Container Lifecycle

# Deploy with advanced options
qnap-docker run nginx:latest --name web --port 80:80 --restart unless-stopped

# Monitor and interact
qnap-docker logs web --follow --timestamps
qnap-docker exec -it web /bin/bash
qnap-docker stats web --no-stream

# Control state
qnap-docker stop web
qnap-docker start web
qnap-docker restart web

Advanced Networking

# Create custom network
qnap-docker network create app-net --driver bridge --subnet 172.20.0.0/16

# Connect containers
qnap-docker network connect app-net web --alias webapp
qnap-docker network ls --filter driver=bridge
qnap-docker network inspect app-net

Volume & Data Management

# Create and manage volumes
qnap-docker volume create data --driver local --label env=production
qnap-docker volume ls --quiet
qnap-docker volume inspect data

# System maintenance
qnap-docker system df --verbose
qnap-docker system prune --all --volumes --force

Container Backup & Restore

# Export container
qnap-docker export web-server --output web-backup.tar

# Import as new image
qnap-docker import web-backup.tar my-web-image:latest

🔗 Related Projects

Sister project to syno-docker for Synology NAS systems.


Made with ❤️ for the QNAP community

qnap-docker v0.1.0 - Initial Release

15 Sep 00:10

Choose a tag to compare

🎉 First stable release of qnap-docker CLI tool for QNAP Container Station!

🚀 Key Features

  • One-command deployment - Deploy containers as easily as qnap-docker run nginx
  • Dynamic Container Station detection - Automatically finds Docker binary across all volume types
  • Multi-volume support - CACHEDEV, ZFS, USB, external storage compatibility
  • SSH authentication - Both SSH keys and ssh-agent support
  • Docker Compose deployment - Multi-container applications
  • Container lifecycle management - run, ps, rm commands
  • Single binary - No dependencies required

🏗️ Architecture Highlights

  • Dynamic Docker Binary Detection: Works with any QNAP storage configuration
  • Multi-Volume Support: CACHEDEV*_DATA, ZFS*_DATA, USB, external volumes
  • Path Resolution: Smart QNAP volume path handling and expansion
  • Integration Tested: Verified on real QNAP hardware with Container Station

✅ Verified Compatibility

  • QNAP Container Station - Dynamic detection across storage pools
  • Docker 27.1.2-qnap4 - Tested and working
  • ZFS Storage Pools - ZFS530_DATA and other ZFS volumes
  • CACHEDEV Volumes - Traditional CACHEDEV1_DATA, CACHEDEV2_DATA, etc.
  • Multi-Platform - macOS (Intel/Apple Silicon), Linux (amd64/arm64)

📦 Installation

Homebrew (Recommended)

brew install scttfrdmn/tap/qnap-docker

Direct Download

Download the appropriate binary for your platform from the assets below.

🚀 Quick Start

# Setup connection (auto-detects your volumes and Container Station)
qnap-docker init your-nas.local

# Deploy your first container  
qnap-docker run nginx:latest --name web --port 8080:80

# Deploy multi-container application
qnap-docker deploy ./docker-compose.yml

# List and manage containers
qnap-docker ps
qnap-docker rm web

🔗 Related Projects

Sister project to syno-docker for Synology NAS systems.


Made with ❤️ for the QNAP community

Full Changelog: https://github.com/scttfrdmn/qnap-docker/commits/v0.1.0