docker

A collection of 10 posts
Build custom Windows Server Docker Image with .NET Framework Build Tools for AWS CodeBuild
docker

Build custom Windows Server Docker Image with .NET Framework Build Tools for AWS CodeBuild

Preinstalled * GIT * AWS CLI Dockerfile # escape=` FROM microsoft/dotnet-framework:4.7.2-runtime SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] #Install NuGet CLI ENV NUGET_VERSION 4.4.1 RUN New-Item -Type Directory $Env:ProgramFiles\NuGet; ` Invoke-WebRequest -UseBasicParsing https://dist.nuget.org/win-x86-commandline/v$Env:NUGET_VERSION/nuget.exe -OutFile $Env:
2 min read
How to add private Docker registry to Rancher
rancher

How to add private Docker registry to Rancher

Via kubectl kubectl -n kube-system create secret docker-registry gitlab \ --docker-server="registry.example.com" \ [email protected] \ --docker-username=name \ --docker-password=password Via Kubernetes yaml apiVersion: v1 data: .dockerconfigjson: eyJhdXRocyI6eyJyZWdpc3RyeS5leGFtcGxlLmNvbSI6eyJ1c2VybmFtZSI6Im5hbWUiLCJwYXNzd29yZCI6InBhc3N3b3JkIiwiZW1haWwiOiJyZWdpc3RyeUBleGFtcGxlLmNvbSIsImF1dGgiOiJibUZ0WlRwd1lYTnpkMjl5WkE9PSJ9fX0= kind: Secret metadata: name: gitlab
1 min read