Skip to content

JeffDeCola/my-docker-image-builds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MY DOCKER IMAGE BUILDS

codeclimate Issue Count MIT License hub.docker.com/u/jeffdecola/ jeffdecola.com

A place to keep my docker image builds.

tl;dr

## BUILD DOCKER IMAGE
DOCKER_BUILDKIT=0 docker build -t jeffdecola/compact-multi-stage-build-example .

## PUSH TO DOCKERHUB
docker push jeffdecola/compact-multi-stage-build-example

## DEPLOY DOCKER IMAGE TO CONTAINER
docker pull jeffdecola/compact-multi-stage-build-example
docker run --name compact-multi-stage-build-example -dit jeffdecola/compact-multi-stage-build-example

## OTHER COMMANDS
docker exec -i -t compact-multi-stage-build-example /bin/bash
docker logs -f compact-multi-stage-build-example
docker images
docker ps

Table of Contents

Documentation and Reference

OVERVIEW

Docker is useful for the automated BUILD of a docker custom image. Docker is also useful for the automated DEPLOY of a docker custom image in an loosely isolated environment. This is useful for easily launching an App/Service.

IMAGE - docker-overview - IMAGE

DOCKER IMAGES

  • compact-multi-stage-build-example

    Using docker to multi-stage build a docker image containing the alpine OS.

  • gcloud-kubectl

    Using docker to build a docker image containing the Ubuntu 22.04 OS (with gcloud and kubectl).

  • go-gcloud-packer

    Using docker to build a docker image containing the ubuntu 22.04 OS (with go, gcloud and packer).