Skip to content

Instantly share code, notes, and snippets.

View CCFenner's full-sized avatar
🏠
Working from home

Christopher Fenner CCFenner

🏠
Working from home
  • @SAP SE
  • Hamburg, Germany
View GitHub Profile
@CCFenner
CCFenner / README.MD
Created September 23, 2020 11:41
Create a configuration file for Docker

To create a valid .docker/config.json file you first need to base64 encode your username and password:

echo <username>:<password> | base64

The output will look like this:

~ echo hallo:welt | base64
@CCFenner
CCFenner / sonarExecuteScan.md
Created June 2, 2020 08:04
Piper Step Documentation
@CCFenner
CCFenner / GossComposeSample.md
Last active July 27, 2022 04:56
How do validate Docker images on Docker Hub using Goss and Docker Compose

Docker Image Validation

Do you publish container images to Docker Hub but have no idea how to test them upfront? Then read on and get to know how you can use goss, docker-compose and Docker Hub to automatically test your images before releasing them.

Goss

So Goss is a tool to validate server configurations. You define your assumption in a yaml-style spec file and validate against them.

goss.yaml