This repository contains docker images for various services & applications. Each folder is configured as an docker image. To know more check details of Dockerfile
in each folder. Automated publishing to dockerhub using github actions.
/alpine-demo
: Alpine bash docker image/node-pm2
: Node & pm2 docker image
To use the docker images in this repository, go to README.md file of the corresponding directory. Entire details has been shared in it.
cd alpine-demo/
- Docker build
docker build -t <DOCKER_IMAGE_NAME> -f Dockerfile .
- Docker run & on stop / exit remove container
docker run --rm --name <DOCKER_CONTAINER_NAME> <DOCKER_IMAGE_NAME>
- Docker stop container & remove image
docker stop <CONTAINER_NAME>; docker rm -f <CONTAINER_NAME>; docker image rm -f <DOCKER_IMAGE_NAME>;
Github actions used to publish docker image to dockerhub
https://github.com/samarpanda/dockerhub-image-publish/issues