Skip to content

russmckendrick/docker

Repository files navigation

Docker

A repo to house my GitHub Container Registry trusted Docker image builds, see my Github Profile for more information. Have a read of my blog posts on Docker for more information.

General Containers

  • Base - Base build for use with other Docker builds
  • AB - A container to run Apache Bench
  • Consul - Run a single or clustered Consul install
  • Jenkins - Run a Jenkins container

Stacks

  • PHP 5.6 - An all in-one PHP 5.6 and Apache container
  • PHP 7 - An all in-one PHP 7 and Apache container
  • MariaDB - A MariaDB 10 container, best used with other containers
  • NGINX - Just NGINX

To run a stack you would run something like;

docker run -d -v /home/containers/database:/var/lib/mysql --name="db" ghcr.io/russmckendrick/mariadb
docker run -d -v /home/containers/web:/var/www/html -e VIRTUAL_HOST=app.dev.mckendrick.io --link db:db --name="web" ghcr.io/russmckendrick/nginx-php7