Coder Social home page Coder Social logo

docker-bedrock-nginx's Introduction

docker-bedrock-nginx

A Dockerfile that installs the latest wordpress, nginx, php-apc and php-fpm.

NB: A big thanks to eugeneware who pretty much build all this minus our customisations!

Installation

The easiest way to get this docker image installed is to pull the latest version from the Docker registry:

$ docker pull booncon/docker-bedrock-nginx

If you'd like to build the image yourself then:

$ git clone https://github.com/booncon/docker-bedrock-nginx.git
$ cd docker-bedrock-nginx
$ sudo docker build -t="booncon/docker-bedrock-nginx" .

Usage

To spawn a new instance of wordpress on port 80. The -p 80:80 maps the internal docker port 80 to the outside port 80 of the host machine.

$ sudo docker run -p 80:80 --name docker-bedrock-nginx -d booncon/docker-bedrock-nginx

Start your newly created docker.

$ sudo docker start docker-bedrock-nginx

After starting the docker-bedrock-nginx check to see if it started and the port mapping is correct. This will also report the port mapping between the docker container and the host machine.

$ sudo docker ps

0.0.0.0:80 -> 80/tcp docker-bedrock-nginx

You can the visit the following URL in a browser on your host machine to get started:

http://127.0.0.1:80

docker-bedrock-nginx's People

Contributors

aried3r avatar chrisantaki avatar ekalinin avatar eugeneware avatar hamiltont avatar joahua avatar joelchen avatar manuelmeurer avatar mrtimuk avatar sftsk avatar taylormonacelli avatar vegasbrianc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.