Categories
docker Linux

docker-compose redis

Clone git repository Pick your redis version and download the git repository. redis version 4 My example uses 4.0.2-alpine. https://github.com/itsmetommy/docker-redis4 redis version 2-3 My example uses 2.6.17. https://github.com/itsmetommy/docker-redis-2-3 Build and start all containers This will build all the sentinel images, then start all containers in detached mode. docker-compose up –build -d Verify that the master is […]

Categories
Code docker Linux

Docker Basics

The below docker commands should give you a basic understanding of how docker works.  This is obviously not a comprehensive lesson, but should give you enough information to take off on your own. Create an account https://hub.docker.com Login to docker hub docker login Search docker hub docker search centos Run a basic container Run in […]