Archives for Language features, Development Methodologies - Page 4
APIs, Open API Standard (OAS)
The OAS is to REST what WSDL was to SOAP. It provides a common framework of designers, developers, testers, and devops to build and maintain APIs. Think of the…
YAML syntax
The synopsis of YAML basic elements is given here: Comments in YAML begins with the (#) character. Comments must be separated from other tokens by whitespaces. Indentation of whitespace is…
ipconfig–virtual ethernets and real ethernets, docker networking daemon
When you run docker on your local host, you get a NAT network for free. This comes with a private address space. To view the details of this network, just…
Firewall Rules using Powershell
I had to test something out where I needed to make sure the right ports were not being blocked by the windows firewall. In this example, I use port 8080.…
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,…