npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mazhu/dockerman

v1.0.0

Published

A simpler Docker Compose management CLI tool

Downloads

122

Readme

dockerman

A simpler Docker Compose management CLI tool

npm version license

A user-friendly alternative to docker-compose commands with beautiful colored output and simpler syntax.

Features

  • 🚀 Simple and intuitive commands
  • 🎨 Beautiful colored output
  • 📊 Pretty container listing tables
  • 🔧 Docker Compose v2 support
  • 📦 Zero configuration needed

Installation

npm install -g @mazhu/dockerman

Usage

Start all services

dockerman up

Options:

  • -d, --detach - Run in detached mode (default: true)
  • -f, --file <file> - Specify an alternate compose file
  • --build - Build images before starting containers

Stop all services

dockerman down

Options:

  • -f, --file <file> - Specify an alternate compose file
  • -v, --volumes - Remove volumes
  • --remove-orphans - Remove containers for services not defined in the Compose file

View logs

dockerman logs [service]

Options:

  • -f, --follow - Follow log output
  • --tail <n> - Number of lines to show (default: 100)
  • -f, --file <file> - Specify an alternate compose file

Examples:

# View all logs
dockerman logs

# Follow logs for a specific service
dockerman logs web -f

# Show last 50 lines
dockerman logs --tail 50

Check service status

dockerman status

Shows a pretty table with service status, container names, and ports.

List containers

dockerman ps

Options:

  • -a, --all - Show all containers, including stopped ones
  • -f, --file <file> - Specify an alternate compose file

Clean up resources

dockerman clean

Options:

  • -a, --all - Remove all unused images, not just dangling ones
  • -v, --volumes - Remove unused volumes
  • -f, --force - Do not prompt for confirmation

Examples:

# Preview what would be removed
dockerman clean

# Actually clean up
dockerman clean -f

# Clean everything including unused images and volumes
dockerman clean -a -v -f

Comparison with docker-compose

| Task | docker-compose | dockerman | |------|---------------|-----------| | Start services | docker-compose up -d | dockerman up | | Stop services | docker-compose down | dockerman down | | View logs | docker-compose logs -f --tail=100 | dockerman logs -f | | Check status | docker-compose ps | dockerman status | | List containers | docker ps --format "table..." | dockerman ps | | Clean up | docker system prune -f | dockerman clean -f |

Requirements

  • Node.js >= 14.0.0
  • Docker >= 20.10.0
  • Docker Compose v2 (bundled with Docker)

Development

# Clone the repository
git clone https://github.com/deepdadou/dockerman.git
cd dockerman

# Install dependencies
npm install

# Link for local testing
npm link

# Test the CLI
dockerman --help

License

MIT © Mike Wang

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Changelog

1.0.0

  • Initial release
  • Basic commands: up, down, logs, status, ps, clean
  • Beautiful colored output with cli-table3
  • Docker Compose v2 support