Public Repository

Last pushed: a month ago
Short Description
Merecat httpd based on Alpine Linux 3.5
Full Description

About

This is a very small Alpine Linux based container with Merecat httpd. For more information on how this container was created, see my blog post.

$  docker images 
REPOSITORY          TAG     IMAGE ID      CREATED         SIZE
troglobit/merecat   latest  1764df1eb990  30 minutes ago  4.271 MB
alpine              3.5     37c7be7a096b  3 days ago      3.991 MB

Usage

docker run -dit -v /host/dir:/var/www -p HOST_PORT:80 \
    troglobit/merecat:latest merecat -n /var/www

Example

Serve your home page on localhost:80

docker run -dit -v $HOME:/var/www -p 80:80 \
       troglobit/merecat:latest            \
       merecat -n /var/www

Deploy

Advanced example, deploy on a server and make sure the container is
restarted as needed (on reboot), uses the correct server hostname,
and serves your FTP server directory:

docker run -dit --restart unless-stopped -h `hostname` \
       -v /srv/ftp:/var/www -p 80:80                   \
       troglobit/merecat:latest
       merecat -n /var/www
Docker Pull Command
Owner
troglobit

Comments (0)