Sign inSign up

0xff/asmttpd

By 0xff

•Updated over 8 years ago

7kB Web server written in amd64 assembly

Image
3

2.8K

0xff/asmttpd repository overview

⁠asmttpd for Docker

based on:

Docker Pulls
Docker Repository on Quay.io

⁠Basic usage
docker run -p 8080:80 --name asmttpd -d 0xff/asmttpd
curl http://localhost:8080/ # --> it works!
⁠Use custom content

# go somwhere we can play...
cd `mktemp -d`

# download some random template (thanks bootstrapzero.com!)
curl -o template.zip http://www.codeply.com/download/DRBmOoChfM
unzip template.zip && rm template.zip

# start it
docker run -p 8888:80 --name asmttpd-site -d -v `pwd`:/var/www 0xff/asmttpd

# point your browser to http://localhost:8888/
⁠Building

Optional, image available on Docker Hub⁠.

# build filesystem
./build/build.sh

# build image
docker build -t 0xff/asmttpd tiny

Tag summary

Content type

Image

Digest

sha256:cd61c7bfb…

Size

2.9 kB

Last updated

over 8 years ago

docker pull 0xff/asmttpd