Public Repository

Last pushed: 2 years ago
Short Description
Sample Golang app Gowiki
Full Description

What is it?

This is an ultra-minimal container built from the special scratch repository. When launched, it will execute a single statically linked Golang binary, providing a very simple (but editable) wiki application. The total image size is less than 8MB.

To launch

docker run --name gowiki -d -p 8080:8080 greent/gowiki

Dockerfile

FROM scratch ADD bin/wiki /wiki ADD bin/edit.html /edit.html ADD bin/view.html /view.html CMD ["/wiki"]

How to use the Wiki

http://<host_ip>:8080/view/ANewPage

Links

https://golang.org/doc/articles/wiki/

Docker Pull Command
Owner
greent

Comments (0)