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

docker-auto-install

v1.0.3

Published

One-command Docker installation for Linux — detects your distro and installs Docker Engine, CLI, Compose, Buildx & Containerd with dignity.

Readme

████▄   ▄▄▄   ▄▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄ ▄▄▄▄
██  ██ ██▀██ ██▀▀▀ ██▄█▀ ██▄▄  ██▄█▄
████▀  ▀███▀ ▀████ ██ ██ ██▄▄▄ ██ ██

▄████▄ ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄
██▄▄██ ██ ██   ██  ██▀██
██  ██ ▀███▀   ██  ▀███▀

██ ▄▄  ▄▄  ▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄  ▄▄    ▄▄    ▄▄▄▄▄ ▄▄▄▄
██ ███▄██ ███▄▄   ██  ██▀██ ██    ██    ██▄▄  ██▄█▄
██ ██ ▀██ ▄▄██▀   ██  ██▀██ ██▄▄▄ ██▄▄▄ ██▄▄▄ ██ ██

One does not simply install Docker. One orchestrates it.
Detects your distro, installs Docker Engine, CLI, Compose, Buildx & Containerd — crafted with dignity.


Quick Start — No Dependencies Required ⭐

The primary distribution method is a plain bash script — works on any fresh Linux machine with zero prerequisites.

Using curl

curl -fsSL https://raw.githubusercontent.com/stillYG108/Docker-Auto-Install/main/install.sh | sudo bash

Using wget

wget -qO- https://raw.githubusercontent.com/stillYG108/Docker-Auto-Install/main/install.sh | sudo bash

Download and inspect first (recommended on production systems)

curl -fsSL https://raw.githubusercontent.com/stillYG108/Docker-Auto-Install/main/install.sh -o install-docker.sh
# Review the script
less install-docker.sh
# Run it
sudo bash install-docker.sh

Git clone

git clone https://github.com/stillYG108/Docker-Auto-Install
cd Docker-Auto-Install
sudo bash install.sh

This method requires nothing but bash and curl (or wget) — ideal for fresh EC2 instances, VPSs, cloud VMs, Raspberry Pi, and any bare Linux server.


For Node.js Developers (npm / npx)

If you're already in a Node.js environment, you can use the npm package instead:

One-shot via npx

npx docker-auto-install

Global install

npm install -g docker-auto-install
docker-auto-install

Note: Requires Node.js ≥ 14. The npm package is a thin wrapper that invokes the same bash script under the hood.
If Node.js isn't installed yet, use the curl method above — it's faster and has no prerequisites.


Supported Distributions

| Family | Distros | |--------|---------| | Debian / Ubuntu | Ubuntu, Debian, Linux Mint, Pop!_OS, elementary OS, Kali Linux, Raspbian | | RHEL / CentOS | RHEL, CentOS, Rocky Linux, AlmaLinux, Oracle Linux | | Fedora | Fedora | | Arch Linux | Arch, Manjaro, EndeavourOS, Garuda | | openSUSE / SLES | openSUSE Leap, openSUSE Tumbleweed, SLES, SLED | | Alpine Linux | Alpine |


What It Does

Pre-flight: verify internet connectivity
Pre-flight: check if Docker is already installed (offer graceful exit)
      │
      ▼
Detect Linux distribution  (/etc/os-release)
      │
      ▼
Update package index & upgrade packages
      │
      ▼
Remove old Docker relics  (docker.io, docker-engine, etc.)
      │
      ▼
Install prerequisites  (curl, ca-certificates, gnupg, etc.)
      │
      ▼
Add Docker's official repository
   ├─ Downloads distro-correct GPG key
   ├─ Verifies GPG fingerprint  (9DC8 5822 9FC7 DD38 …)
   └─ Writes signed DEB822 / RPM / zypper source entry
      │
      ▼
Install Docker Engine + CLI + Containerd + Buildx + Compose
      │
      ▼
Start & enable Docker service  (systemd or OpenRC)
      │
      ▼
Add invoking user to the docker group
      │
      ▼
Run hello-world smoke test
      │
      ▼
Print installation summary

Project Structure

docker-auto-install/
├── install.sh                    ← PRIMARY: curl this on any fresh Linux machine
├── scripts/
│   └── the_docker_installation.sh  ← Bundled copy used by the npm package
├── bin/
│   └── docker-auto-install.js    ← Node.js CLI shim (npm / npx entry point)
├── package.json
└── README.md

Requirements

| Method | Requirements | |--------|-------------| | curl \| bash | bash, curl or wget, sudo or root | | git clone | git, bash, sudo or root | | npx / npm | Node.js ≥ 14, bash, sudo or root |


Maintaining This Package

Docker occasionally updates repository URLs, GPG keys, and supported distributions. When that happens:

  1. Update install.sh (and sync the copy to scripts/the_docker_installation.sh) to match the official Docker installation docs.
  2. Update EXPECTED_FP in setup_repository() if the GPG fingerprint changes.
  3. Bump the version in package.json and republish.

GitHub: github.com/stillYG108/Docker-Auto-Install


License

MIT © stillYG108