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
- My docker cheat sheet
- My docker images at DockerHub
- An illustration of how vagrant, docker and packer build and deploy images
- My docker-remove-old-images.sh linux script
- This repos github webpage built with concourse
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.
-
compact-multi-stage-build-example
Using docker to multi-stage build a docker image containing the alpine OS.
-
Using docker to build a docker image containing the Ubuntu 22.04 OS (with gcloud and kubectl).
-
Using docker to build a docker image containing the ubuntu 22.04 OS (with go, gcloud and packer).