Skip to content

outrunthewolf/dockerfile-base-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

dockerfile-nginx

Docker Container for a basic nginx, php5, mysql setup

Requiries

Docker >= 0.6.x

Usage

Clone, pull or download the repository. At the same level as the dockerfile build your container with whatever name you'd like:

sudo docker build -t base/nginx .

Once you've got a completed image, you can run the container outright:

Daemon

# Daemon
sudo docker run -d base/nginx 

Interactive

sudo docker run -i -t base/nginx /bin/bash

Dockerfile

Or you can couple the built container as a base for another application within its Dockerfile

# Dockerfile example

# Set the new application to inherit this container
FROM base/nginx
...

About

Docker Container for a basic nginx, php5, mysql setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages