Archives for Language features, Development Methodologies - Page 4
Docker Install Uninstall Issues
Installing / Uninstalling DockerIf docker engine (daemon) does not start up — Install-Package -Name docker -ProviderName DockerMsftProvider -verbose (from an admin PS prompt)To completely remove docker desktop from your Windows 10/…
Inspecting Running Containers (Docker Containers)
These are some of the shortcuts for inspecting running containers. First, of course, get the ID of the running containerdocker container ls -a (show me all the running containers on…
Event Logs and Running Containers
To connect to docker and launch a PS prompt inside the containerdocker exec CONTAINERID To fetch the newest 1000 events in the Application Event log (the format is needed…
Docker Application Logging Using Prometheus
Docker logs by themselves reveal little about your containerized application. To get a true monitoring strategy in place, that includes your application metrics, you need a tool like Prometheus. This…
Stepping through Powershell Code, Modules
I ran into a few issues when modifying my PowerShell modules and not being able to step through the modified code. Here are some simple tips to ensure you can…
Powershell to Create AD Trust
Launch Powershell cmd prompt from the programs menu. Inside the cmd prompt , type Get-ADTrust if it fails - do this first : import-module activedirectory Once you have the module,…
Helpful Powershell Commands
More samples at Call a local exe -- use the call operator & Set-Location $composefolder & 'C:\Program Files\docker\' "up" Call another PS script Invoke-Expression ".\" Show all env vars Get-ChildItem…
dockerfile MULTIPLE commands or entrypoints–Powershell and IIS as ENTRYPOINTS in Docker Compose
Typically, dockerfiles require a single entrypoint or single command. In fact, multiple CMD instructions are ignored and only the final CMD is executed. By now, you should know that entrypoint…
Twitter policy against defamation
Day 1 - A twitter handle named @sanden came out and personally attacked my name. They made up the following tweet: Tweet ID 1045547615318880257 @TudorFan2 @VarmaAnuj @TerryK59 @David_Bossie @DonaldJTrumpJr @realDonaldTrump…
git basics
Repos versus Branches – A repo can have as many ; And you can have multiple REPOS (typically one per product). Branching Best Practices Master (Prod Branch) ---> Dev…