Once you have create am image your next option is to publish the created Docker image on the Docker Hub Repository. To do so, you will need to create an account on the Docker Hub signup webpage where you will provide a name, password, and email address for your account. I should also point out that the Docker Hub service is free for public docker images. Once you have created your account, you can push the image that you have previously created, to make it available for others to use.
Building Locally using a Dockerfile
We will create a custom Docker Image using the “Whale say ” image which is a small Docker Image (based on an Ubuntu Image) which when you run it, it says something that you programmed to say back to you.
First, fire up a terminal and create a new folder by typing:
mkdir mywhale
Introduction to Docker Files
Let us introduce ourselves to the Docker Hub and learned that it is a cloud-based centralized resource for container image discovery, image building, and distribution of those images. We also learned that a docker image is a multi-layer image on top of a base image. That said, using a base image removes the hassle of creating from scratch a suitable OS for docker image and gives us the option to customize the upper layers where our software will reside.
Setting Up a Redis Single Server on Ubuntu 14.04 LTS
Setting up a Redis server is very simple to do. Simply install the software, make a few configuration changes, and startup the service. In the example below, we will show how to install Redis on a single server.
Setting Up a Riak Cluster on Ubuntu 14.04 LTS
Setting up a Riak cluster is very simple to do. Simply install the software, make a few configuration changes, and startup the service. In the example below, we will show how to create a very small development cluster using only (5) servers.