- Globs for
action.path
- i.e.
path: *.csproj
,path: foo|bar|baz
,path: *.txt|*.ini
- i.e.
- Allow watch files that are
.dockerignore
d => i.e.Dockerfile
|compose.yaml
=> triggerrebuild
action- currently
.dockerignore
d files are ignored forwatch
ing even if explicitly set inaction.path
.dockerignore
is historically focused on building images, seems likecompose watch
needs to be able to override at a minimum?
- currently
recreate
action type w.r.t. the entire watch process- i.e. edit
compose.yaml
/Dockerfile
/*.env
=> trigger reload of entiredocker compose watch
- i.e. edit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// from my video: https://youtu.be/mk_6I8meeHg | |
// top level components | |
"editor.minimap.enabled": false, | |
"workbench.activityBar.location": "hidden", | |
"workbench.statusBar.visible": false, | |
// per file/pane | |
"workbench.editor.showTabs": "none", |
- Published ports from Windows Containers aren't accessible on the container host (they are remotely). Use Container IP locally:
docker inspect --format '{{ .NetworkSettings.Networks.nat.IPAddress }}' <container>
- Docs explaining this
- GH Issue tracking fixes
- host's IP on host does work now in Creator's Update: "as well as having direct access to the container using the Host IP and exposed port." - https://blogs.technet.microsoft.com/virtualization/2017/04/13/whats-new-in-hyper-v-for-the-windows-10-creators-update/
- localhost on host doesn't work yet
- Troubleshooting & Logs - Docker docs: https://docs.docker.com/docker-for-windows/troubleshoot/#docker-knowledge-hub
Shortened URL to access this gist: http://tiny.cc/swarmgs
All scripts work in bash and should work in powershell except as noted
git clone https://gist.github.com/g0t4/1454ee7342d54aba5313ffc699d472ba local-folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget https://gist.githubusercontent.com/g0t4/c4d382b0aa0b15ed3454f501d2102500/raw/c39c6662fa15e4ad9c842eae9e2724dd1810d7eb/table.adoc | |
# this docker image comes preloaded with many extensions! https://hub.docker.com/r/asciidoctor/docker-asciidoctor/~/dockerfile/ | |
# docs for asciidoctor-diagram extension http://asciidoctor.org/docs/asciidoctor-diagram/ | |
# 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 "$@" ; } |
- Save the
docker-compose.yml
andconfig.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 :)
Access this Gist via this shortened URL: https://git.io/vPj49
If anything changes, with regards to the material covered in this course, this will be the first place I share updates.
Access this gist via: https://git.io/vPnaU GitHub repo: https://git.io/vP819 (https://github.com/g0t4/pluralsight-dotnet-core-windows/)
Links:
- NET Standard Interface Analogy
- Sample files for weather console app:
- Commit where I added these three files
- Either checkout this commit, or:
- Commit where I added these three files
- Grab these 3 files (from the specific commit referenced)
Shortened URL for this gist: https://git.io/vitgf
- Spring Pet Clinic https://github.com/g0t4/teamcity-course-spring-petclinic
- AspNet.Identity.Mongo https://github.com/g0t4/teamcity-course-aspnet-identity-mongo
- Solitaire https://github.com/g0t4/teamcity-course-cards
NewerOlder