Skip to content

Instantly share code, notes, and snippets.

@marijus-ravickas
Last active October 9, 2019 11:22
Show Gist options
  • Save marijus-ravickas/96d54274c04a0d84355c4982a576c441 to your computer and use it in GitHub Desktop.
Save marijus-ravickas/96d54274c04a0d84355c4982a576c441 to your computer and use it in GitHub Desktop.

Installation

curl -L https://raw.githubusercontent.com/aelsabbahy/goss/master/extras/dgoss/dgoss -o /usr/local/bin/dgoss

curl -L https://github.com/aelsabbahy/goss/releases/download/v0.3.7/goss-linux-amd64 -o ~/Downloads/goss-linux-amd64

export GOSS_PATH=~/Downloads/goss-linux-amd64

Running tests on containers without RUN

dgoss edit <image name> sleep 1000
dgoss run <image name> sleep 1000

running dgoss on specific images from local repo

docker images  | sort | grep with-db-certs | grep -v deps | awk '{print $1":"$2}' | xargs -I'{}' dgoss run {} sleep 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment