• Stars
    star
    161
  • Rank 233,470 (Top 5 %)
  • Language
    HTML
  • Created about 10 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Hello World web server in under 2 MB

Hello World

This is a simple Docker image that just gives http responses on port 8000. It's small enough to fit on one floppy disk:

$ docker images | grep hell
REPOSITORY               TAG       IMAGE ID        CREATED          VIRTUAL SIZE
crccheck/hello-world     latest    2b28c6ad8d1b    4 months ago     1.2MB

I made this initially because there were lots of scenarios where I wanted a Docker container that speaks HTTP, but every guide used images that took seconds to download. Armed with a tiny Docker image, I could test things in a fresh environment in under a second. I like faster feedback loops.

THANK YOU to the surprisingly large number of contributors that have made this better for everyone over the years.

Sample Usage

Starting a web server on port 80

$ docker run -d --rm --name web-test -p 80:8000 crccheck/hello-world

You can now interact with this as if it were a dumb web server:

$ curl localhost
<xmp>
Hello World
...snip...
$ curl -I localhost
HTTP/1.0 200 OK
$ curl -X POST localhost/super/secret
<HTML><HEAD><TITLE>501 Not Implemented</TITLE></HEAD>
...snip...
$ curl --write-out %{http_code} --silent --output /dev/null localhost
200

More Repositories

1

django-object-actions

A Django app for easily adding object tools in the Django admin
Python
673
star
2

raphael-svg-import-classic

Import SVG files to Raphael
JavaScript
98
star
3

cloudwatch-to-graphite

Helper for pushing AWS CloudWatch metrics to Graphite
Python
55
star
4

docker-tcpdump

tcpdump + docker
Makefile
23
star
5

dockr

A Docker CLI wrapper for lazy people
Shell
19
star
6

docker-requestbin

Requestbin
Shell
15
star
7

kinesis-console-consumer

AWS Kinesis stream consumer for the console
JavaScript
13
star
8

recipes

Recipes for food that goes in your mouth and out the cloud
12
star
9

kinesis-streams

AWS Kinesis readable and writable streams
JavaScript
8
star
10

docker-pod

A collection of Dockerfiles for fun and mischief
Shell
6
star
11

text-mix.js

Smooth transitions for chunks of text.
JavaScript
5
star
12

redis-url-parse

Spread a Redis URL string into a configuration object.
JavaScript
5
star
13

tech-debt-talk

JavaScript
5
star
14

dotfiles

My dotfiles
Python
5
star
15

crc-irc

A JavaScript based IRC client for the web.
JavaScript
4
star
16

crccheck-django-boilerplate

My boilerplate for a Django apps and projects
Python
4
star
17

postdoc

A helper for Postgres + Docker that works for free
Python
3
star
18

bikeme

Python
3
star
19

gallery-cms

A simple online gallery where the images are the database.
Python
3
star
20

CrapCrapCrap

DIY collaborative client-side price tracker
Python
2
star
21

django-test-curl

Write Django test requests using curl syntax
Python
2
star
22

foursquare-archiver

Archive your Foursquare checkin data
Python
2
star
23

dj-obj-update

Descriptive and cheaper Django model updates
Python
2
star
24

ercot

Python
2
star
25

omnmeta

Metadata All The Things!
Python
2
star
26

Texas-Lobbying-CouchApp

JavaScript
2
star
27

Ikariam-Master-View

JavaScript
2
star
28

docker-postgis

Makefile
2
star
29

vaulty

Shell interface for browsing Hashicorp Vault
Python
2
star
30

lazy-projects

JavaScript
2
star
31

geodude

Your geocoding buddy. Create your own personal geocoder cache!
Python
2
star
32

eyuta

Ikariam Wall Calculator/Simulator
2
star
33

crccheck-dj-project-boilerplate

Python
1
star
34

couchdb-funsize

Create a funsized version of a couch database for testing views
Python
1
star
35

opower-exporter

JavaScript
1
star
36

you-mock-me

Learn how to use unittest.mock
Python
1
star
37

goreplay-middlewares

Useful Goreplay middlewares I've come up with.
JavaScript
1
star
38

Tx-Leg-Bills

JavaScript
1
star
39

crccheck.github.io

CSS
1
star
40

AllBfCards

JavaScript
1
star
41

lmqtfy

JavaScript
1
star
42

project_runpy

Generic helpers I wish existed or am constantly copying into my Python projects
Python
1
star
43

sheet-everywhere

Miracle Google spreadsheets into JSON so you can use them everywhere
Python
1
star
44

guy

JavaScript
1
star
45

jinja2-livepreview

Experiment with Jinja2 templates from your browser.
Python
1
star
46

zootool-sync

Sync a local directory with your zootool image bookmarks
Python
1
star
47

single-page-app-template

Bootstrap a single page app using sass + coffeescript
CoffeeScript
1
star
48

Sprite-Zero

Python
1
star