Dockerfiles
A repo of Dockerfiles for images to be hosted on the Docker registry.
Publishing to Dockerhub workflow
- Create a new folder for your image with a new
Dockerfileand any other required files - Build your image, creating a unique tag w/ the bufferapp namespace. This
is telling docker to build the Dockerfile found in your current directory (
.).
$ docker build -t bufferapp/apache-php:1.2.0 .
# ...docker creates your image...
$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
bufferapp/apache-php 1.2.0 94edd5d07de6 30 seconds ago 508.4 MB- After testing it out publish it to Docker Hub:
$ docker push bufferapp/apache-php:1.2.0
- Add an optional description for the image on Docker Hub