Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description


Fedora dockerfile for bashblog

Get Docker version

# docker version

To build:

Copy the sources down and do the build-

# docker build --rm -t <username>/bashblog .

You need to configure your bashblog first in your working directory or apache will work as default

 #First download or copy your bashblog directory

To run (if port 80 is open on your host):

# docker run -d -p 80:80 -v path-to-bashblog-directory:/var/www/html <username>/blog

or to assign a random port that maps to port 80 on the container:

# docker run -d -p 80 -v path-to-bashblog-directory:/var/www/html <username>/httpd

To the port that the container is listening on:

# docker ps

To test:

# curl http://localhost
Docker Pull Command
Source Repository