Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

teelahti/docker-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-playground

Docker playground for multi-container communication practice: client (developed in Go) connects to always running Redis service in another container.

Building the machines could be done completely with Docker commands, but for clarity both containers have a Dockerfile.

If you need an ad hoc Redis CLI client for testing, run:

docker run --link redis:db -i -t ubuntu:14.04 /bin/bash

...and then install redis with:

$ sudo apt-get update
$ sudo apt-get install redis-server
$ sudo service redis-server stop

Now you can connect to our Redis instance ("DB" is the link name):

redis-cli -h $DB_PORT_6379_TCP_ADDR

Detailed instructions on Docker website.

About

Docker playground for multi-container communication practice.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages