Quantcast
Channel: A taste of…
Browsing latest articles
Browse All 27 View Live

Managing Container Log Files

Based upon Katakoda’s Managing Log Files scenario. Show a container’s log docker run -d --name redis-server redis Using syslog: docker run -d --name redis-syslog --log-driver=syslog redis Disable...

View Article



Ensuring Container Uptime With Restart Policies

Based on Katakoda’s Ensuring Container Uptime With Restart Policies Scenario. This instance exits with code 1 to simulate a crash docker run -d --name restart-default scrapbook/docker-restart-example...

View Article

Communication between containers

Based on Katakoda’s Communication between containers scenario. A Nodejs app using a redis db The db container docker run -d --name redis-server redis A link and then cat /etc/hosts docker run --link...

View Article

Docker Metadata & Labels

Based on Katacoda’s Docker Metadata & Labels scenario Add a label (user=12345) docker run -l user=12345 -d redis using a file with labels $ echo 'user=1234561' >> labels && echo...

View Article

Docker Essentials: A Developer Introduction

A Cheatsheet for cognitiveclass.ai course 1. Run a container Note: this is a fairly old course, from now on I will update the commands used. For the labs part of this course you can either install...

View Article


Scaling test with Docker

After refreshing our Docker knowledge, the next step is using this for scaling our tests using docker Swarm. First we gather the needed containers: docker pull selenium/hub The selenium hub will...

View Article

BDD

(Notes for the BDD Course available for free at: https://school.cucumber.io/ ) What does BDD stand for? BDD is an approach that collaboratively specifies the system’s desired behaviour. Each time a...

View Article

BDD and Agile

BDD practitioners prefer comprehensive documentation over collaboration. BDD is a collaborative activity. Living documentation is a secondary, valuable, output of applying BDD practices.What’s the...

View Article


BDD Discovery workshop

Why do we call it “Three Amigos”? The goal of a three amigos meeting is to ensure that the team fully understand the scope of the story being discussed. For this to be effective, we need to have at...

View Article


Image may be NSFW.
Clik here to view.

How to get a commit id

Easy, open a terminal in the folder of your project and then type: git rev-parse --short HEAD This is useful for automation.

View Article
Browsing latest articles
Browse All 27 View Live




Latest Images