Skip to content

kaihendry/docker-tutorial

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

How to Dockerize a PHP application

Using abiosoft/caddy:php

PHP tutorial

First please install Docker and we assume you have a bash shell CLI!

Following contains tutorial steps to help familiarise yourself with running and building Docker images.

Lessons

  • 1.txt - how to run a Docker container. If you don't have it, it should automatically pull
  • 2.txt - we need to specify a host to container port binding, else it won't be accessible
  • 3.txt - you can alter the host port
  • 4.txt - you can introduce new environment variables
  • 5.txt - you can shell into a running container
  • 6.txt - you can bind directories between your host and the container
  • 7.txt - lets put some examples together
  • 8.txt - lets put our source into the image by creating our own Dockerfile
  • 9.txt - lets run an "official image"

About

Docker tutorial at PHP conference Asia 2016

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages