Softwr

Documentation · head to head

BookStack vs Distroless

BookStack logo

BookStack

Documentation

Self-hosted documentation wiki with a fixed shelf, book, chapter and page structure

From
Free
Free plan
Yes
Distroless logo

Distroless

Developer Tools

Minimal container base images from Google that hold only an app and its runtime

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only BookStack lists shelves, books, chapters, pages; only Distroless lists debian 13 based images.
  • Where Distroless falls short: no shell or package manager, so installing packages or debugging inside the image is harder.

How do BookStack and Distroless differ?

BookStack and Distroless differ on pricing model, platforms (Web, Self-hosted against Linux) and category (Documentation against Developer Tools). Only the attributes on which BookStack and Distroless actually diverge.

Attributes where BookStack and Distroless differ
AttributeBookStackDistroless
Pricing modelOpen source, no licence feeOpen-source
PlatformsWeb, Self-hostedLinux
CategoryDocumentationDeveloper Tools

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 9 appear only for BookStack and 8 only for Distroless. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in BookStack

  • Shelves, books, chapters, pages
  • Dual editors
  • Granular permissions
  • Full text search
  • Page revisions
  • REST API
  • External authentication
  • Export

Only in Distroless

  • No package manager or shell in runtime images
  • Debian 13 based images
  • Static, base and cc images for compiled apps
  • Java, Node.js and Python 3 runtime images
  • Nonroot and debug tag variants
  • Cosign keyless image signing
  • Multi architecture builds including amd64, arm64 and s390x
  • Bazel based build tooling

What is each one used for?

Distroless is most often brought in for production base images for Go or Rust binaries. The jobs each tool is most often brought in to do.

BookStack

  • Running an internal knowledge base on infrastructure inside a network that cannot reach external SaaSnot Distroless
  • Documenting procedures and runbooks where a fixed structure prevents the tree sprawl a free-form wiki producesnot Distroless
  • Replacing a Confluence licence for a team that needs pages, permissions and search but none of the surrounding suitenot Distroless
  • Publishing customer-facing manuals from the same instance as internal documentation using per-book permissionsnot Distroless

Distroless

  • Production base images for Go or Rust binariesnot BookStack
  • Reducing vulnerability scanner findingsnot BookStack
  • Smaller Java and Node.js container imagesnot BookStack
  • Running containers as a non root usernot BookStack
  • Verifying image provenance with cosignnot BookStack

Where do BookStack and Distroless fall short?

Distroless's most cited limit: no shell or package manager, so installing packages or debugging inside the image is harder. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

BookStack

  • There is no vendor-hosted option at all, so you own the server, TLS certificates, database backups and upgrades, or you pay a third-party host that has no support relationship with the project and no ability to fix a bug
  • The shelf, book, chapter, page hierarchy is fixed at four levels and cannot be reshaped, so migrating a deeply nested Confluence or MediaWiki space means flattening content by hand and losing the original structure
  • It requires PHP and MySQL or MariaDB, which is a stack many engineering teams no longer run, so adopting it usually means introducing a database and runtime nobody else in the organisation maintains
  • Development is concentrated on a single maintainer, which makes the bus factor a legitimate procurement question for anything the organisation intends to depend on for a decade
  • Content lives in the database rather than in files under version control, so there is no docs-as-code workflow, no review by pull request and no branch per release
  • Export is per page, chapter or book, so moving a large instance to another platform means writing a script against the REST API rather than copying a directory of Markdown

Distroless

  • No shell or package manager, so installing packages or debugging inside the image is harder
  • Language images cover only Java, Node.js and Python 3, with other runtimes built by the user
  • Architecture support differs by image, and python3 lists only amd64, arm64 and riscv64
  • Tags without a distro suffix may change which Debian release they resolve to

How much do BookStack and Distroless cost?

BookStack is free to use; Distroless is free to use. Plan by plan below, from each vendor's own pricing page.

BookStack

Free
  • BookStackFree
    • MIT licence with no paid edition
    • All features included, no seat limits
    • Self-hosted on your own infrastructure

Distroless

Free

No published plan breakdown. See the Distroless review.

Which should you pick?

Choose BookStack if

  • You need shelves, books, chapters, pages.
  • You want to start without paying.
  • You work on Web, Self-hosted.
  • You also want dual editors.

Choose Distroless if

  • You need no package manager or shell in runtime images.
  • You want to start without paying.
  • You work on Linux.
  • You also want debian 13 based images.

Questions people ask

Is BookStack or Distroless better?
It depends on the job. BookStack fits running an internal knowledge base on infrastructure inside a network that cannot reach external SaaS; Distroless fits production base images for Go or Rust binaries. BookStack starts at Free and Distroless at Free.
Which is cheaper, BookStack or Distroless?
BookStack starts at Free and Distroless at Free.
Does BookStack or Distroless run on more platforms?
BookStack runs on Web, Self-hosted. Distroless runs on Linux.
Can I use BookStack for free?
Both have a free tier, so you can try either at no cost before committing.
What is BookStack best used for?
BookStack is most often used for running an internal knowledge base on infrastructure inside a network that cannot reach external saas, documenting procedures and runbooks where a fixed structure prevents the tree sprawl a free-form wiki produces, replacing a confluence licence for a team that needs pages, permissions and search but none of the surrounding suite, publishing customer-facing manuals from the same instance as internal documentation using per-book permissions. Of those, running an internal knowledge base on infrastructure inside a network that cannot reach external saas and documenting procedures and runbooks where a fixed structure prevents the tree sprawl a free-form wiki produces are not what Distroless is typically brought in for.
What can BookStack do that Distroless cannot?
BookStack covers Shelves, books, chapters, pages, Dual editors, Granular permissions, Full text search. Distroless covers No package manager or shell in runtime images, Debian 13 based images, Static, base and cc images for compiled apps, Java, Node.js and Python 3 runtime images.

Answered from the vendors’ own pages

BookStack: Is there a paid or hosted version?

No. BookStack is MIT-licensed with no commercial edition and no official hosted service. Third-party hosts exist but are unaffiliated with the project.

Distroless: What is in a distroless image?

According to the project, an image holds only your application and its runtime dependencies. Package managers, shells and other standard Linux distribution programs are omitted.

Source
BookStack: Can I nest pages more deeply?

No. Four levels is the design, not a limitation waiting to be fixed, and content that needs deeper nesting has to be restructured.

Distroless: How can I debug a distroless container?

The project publishes debug and debug-nonroot tags that add a BusyBox shell. The standard tags have no shell.

Source
BookStack: Does it support single sign-on?

Yes, through LDAP, SAML2 or OpenID Connect, with group to role mapping, and none of it is gated behind a paid tier because there is no paid tier.

Distroless: Are distroless images signed?

Yes. Images are signed with cosign keyless signing, and the project provides a cosign verify command that checks the certificate issuer and identity.

Source
BookStack: How hard is it to migrate content in?

Straightforward for flat content through the REST API, awkward for deeply nested wikis, because the structure has to be collapsed to fit.

Distroless: Which licence does Distroless use?

GitHub's repository data lists the Apache 2.0 licence. The images are free to use.

Source
Share

Related pages

Other head to heads