11notes/express

By 11notes

Updated 9 months ago

Run your Express application rootless and distroless

Image
Buildkit cache
Languages & frameworks
0

4.5K

11notes/express repository overview

banner

EXPRESS

size5pxversion5pxpulls5px5pxswiss_made

Run your Express application rootless and distroless

SYNOPSIS 📖

What can I do with this? This image will run your Express application distroless and rootless with a default Express class provided at /Express.js.

UNIQUE VALUE PROPOSITION 💶

Why should I run this image and not the other image(s) that already exist? Good question! Because ...

  • ... this image runs rootless as 1000:1000
  • ... this image has no shell since it is distroless
  • ... this image is auto updated to the latest version via CI/CD
  • ... this image has a health check
  • ... this image runs read-only
  • ... this image is automatically scanned for CVEs before and after publishing
  • ... this image is created via a secure and pinned CI/CD process
  • ... this image is very small

If you value security, simplicity and optimizations to the extreme, then this image might be for you.

COMPARISON 🏁

Below you find a comparison between this image and the most used or original one.

imagesize on diskinit default asdistrolesssupported architectures
11notes/express:5.1.030MB1000:1000amd64, arm64, armv7

VOLUMES 📁

  • /express/var - Directory of the express application

EXAMPLE 🧬

main.js /express/var/main.js

const Express = require('/Express');
const app = new Express();
app.express.get('/', (req, res, next) => {
  res.status(200).json({hello:"world!"});
});
app.start();

COMPOSE ✂️

name: "express"
services:
  express:
    image: "11notes/express:5.1.0"
    environment:
      TZ: "Europe/Zurich"
    ports:
      - "3000:3000/tcp"
    restart: "always"

To find out how you can change the default UID/GID of this container image, consult the how-to.changeUIDGID section of my RTFM

DEFAULT SETTINGS 🗃️

ParameterValueDescription
userdockeruser name
uid1000user identifier
gid1000group identifier
home/expresshome directory of user docker

ENVIRONMENT 📝

ParameterValueDefault
TZTime Zone
DEBUGWill activate debug option for container image and app (if available)
EXPRESS_PORTport of Express3000
EXPRESS_MAX_BODY_SIZE/Express.js max body size allowed16MB

MAIN TAGS 🏷️

These are the main tags for the image. There is also a tag for each commit and its shorthand sha256 value.

There is no latest tag, what am I supposed to do about updates?

It is of my opinion that the :latest tag is dangerous. Many times, I’ve introduced breaking changes to my images. This would have messed up everything for some people. If you don’t want to change the tag to the latest semver, simply use the short versions of semver. Instead of using :5.1.0 you can use :5 or :5.1. Since on each new version these tags are updated to the latest version of the software, using them is identical to using :latest but at least fixed to a major or minor version.

If you still insist on having the bleeding edge release of this app, simply use the :rolling tag, but be warned! You will get the latest version of the app instantly, regardless of breaking changes or security issues or what so ever. You do this at your own risk!

REGISTRIES ☁️

docker pull 11notes/express:5.1.0
docker pull ghcr.io/11notes/express:5.1.0
docker pull quay.io/11notes/express:5.1.0

SOURCE 💾

PARENT IMAGE 🏛️

This image is not based on another image but uses scratch as the starting layer. The image consists of the following distroless layers that were added:

BUILT WITH 🧰

GENERAL TIPS 📌

  • Use a reverse proxy like Traefik, Nginx, HAproxy to terminate TLS and to protect your endpoints
  • Use Let’s Encrypt DNS-01 challenge to obtain valid SSL certificates for your services

ElevenNotes™️

This image is provided to you at your own risk. Always make backups before updating an image to a different version. Check the releases for breaking changes. If you have any problems with using this image simply raise an issue, thanks. If you have a question or inputs please create a new discussion instead of an issue. You can find all my other repositories on github.

created 13.10.2025, 21:48:13 (CET)

Tag summary

Content type

Image

Digest

sha256:1af974d76

Size

26.8 MB

Last updated

9 months ago

docker pull 11notes/express:5