Quick start - Terratest
terratest.gruntwork.io › docs › getting-startedInstead of using Terraform helpers, this test code uses Terratest’s Docker helpers to run docker build, docker run, and check the contents of the text file. As before, you can run this test using go test! Example #4: Kubernetes. Terratest also provides helpers for testing your Kubernetes code. For example, here’s a Kubernetes manifest you ...
Docker Build | TutorialsHub
https://tutorialshub.org/docker-build2. Use docker build command to create the image. Dockerfile example: #This is a sample Image FROM ubuntu MAINTAINER easywhatis@gmail.com RUN apt-get update RUN apt-get install curl wget RUN apt-get install -y nginx CMD ["echo", "Image created successfully"] Build the image from above Dockerfile. docker build -t my-ubuntu .