Skip to content

Instantly share code, notes, and snippets.

View g0t4's full-sized avatar

Wes Higbee g0t4

View GitHub Profile
g0t4 /
Created December 5, 2023 00:36
`docker compose watch` ideas


  • Globs for action.path
    • i.e. path: *.csproj, path: foo|bar|baz, path: *.txt|*.ini
  • Allow watch files that are .dockerignored => i.e. Dockerfile|compose.yaml => trigger rebuild action
    • currently .dockerignored files are ignored for watching even if explicitly set in action.path
    • .dockerignore is historically focused on building images, seems like compose watch needs to be able to override at a minimum?
  • recreate action type w.r.t. the entire watch process
    • i.e. edit compose.yaml/Dockerfile/*.env => trigger reload of entire docker compose watch
g0t4 /
Last active March 4, 2022 01:02
Docker Cheat Sheet

Windows Containers notes

g0t4 /
Last active May 18, 2017 03:41
Docker Swarm Mode Getting Started Workshop

Shortened URL to access this gist:

All scripts work in bash and should work in powershell except as noted

clone this gist

git clone local-folder
g0t4 /
Last active January 18, 2017 05:13
docker cli usefulness -> converting ascii art into nice images - > nice workflow for creating visuals and flexible outputs with asciidoctor in a container
# this docker image comes preloaded with many extensions!
# docs for asciidoctor-diagram extension
# volume mount for current working directory, to ready table.adoc and write resultant output file
# function to hide away the docker run and volume plumbing, treat like it is installed locally :)
asciidoctor() { docker run --rm -v $(pwd):/documents asciidoctor/docker-asciidoctor asciidoctor "$@" ; }
g0t4 /
Created November 30, 2016 03:46
Setting up a Docker Hub registry mirror on a Synology NAS


  • Save the docker-compose.yml and config.yml in the same directory on one of your volumes on the NAS.
  • SSH in and use docker-compose up -d
  • Test the mirror with curl --head http://NAS-IP:55000
  • Start up docker daemons with the following option or put this in the daemon config file or copy into Docker for Mac/Windows settings. --registry-mirror=http://NAS-IP:55000
  • Pull an image and then check that it is cached in your mirror with curl http://NAS-IP:55000/v2/_catalog
    • or check that a large image isn't slow after the first pull :)


g0t4 /
Last active July 11, 2022 14:53
Getting Started with Docker on Windows
g0t4 /
Last active August 15, 2018 05:32
Getting Started with .NET Core: for Windows Developers
g0t4 /
Last active December 25, 2020 10:09
Resources for TeamCity Getting Started Course