Apache Kafka Docker Image Example

apache kafka logo

Apache Kafka is a fault tolerant publish-subscribe streaming platform that lets you process streams of records as they occur. This post is a step by step guide of how to build a simple Apache Kafka Docker image. The original Dockerfile can be found here: https://github.com/nsonntag/docker-images/tree/master/kafka-quickstart. The Dockerfile This Dockerfile is very simple. It installs Java

read more

How to Start an Interactive Docker Container

Sometimes when working with Docker you just want to quickly start a container and interact with it through a shell. Fortunately this is easy to do. Here is an example of creating and running an Ubuntu container with a bash shell: docker run -it –rm ubuntu /bin/bash Here is the explanation of this command: docker

read more

Running Apache Zeppelin on Docker

Apache Zeppelin is a fantastic open source web-based notebook. Zeppelin allows users to build and share great looking data visualizations using languages such as Scala, Python, SQL, etc. Running Apache Zeppelin on Docker is a great way to get Zeppelin up and running quickly. Here are the basic steps: Pick an OS Zeppelin runs great

read more

How to Stop all Running Docker Containers

People that work with Docker know it is easy to create a large number of containers. Occasionally you need to stop all running containers on your machine. This can be accomplished by using docker stop together with docker ps (using command substitution).

docker ps is used to list all running containers. The -q option

read more

Running Neo4j 3.x on Docker

Neo4j is the world’s leading graph database. Fortunately, Neo Technology publishes official Neo4j Docker images which makes it very easy to get started. Once you have Docker running, simply use the the following command to start running Neo4j in a new container (adjust Neo4j version as necessary):

The -p (or –publish) options above binds

read more

How to Stop and Delete all Docker Containers

People that work with Docker know it is easy to create a large number of containers. Occasionally it becomes necessary to delete unused and unneeded containers. Below is an example of stopping and deleting all existing Docker containers. This is accomplished by using docker stop and docker rm together with docker ps (using command substitution).

read more

Connecting Docker Containers with Networking

Docker Containers are isolated environments often running a single service. Usually individual containers need to be connected to others to accomplish more complex tasks. Starting in Docker 1.9 this has become very easy to do with Networking. Docker Networking Docker Networking is a feature that allows you to create a virtual network and attach containers

read more

Set AWS Credentials in Cloudera Quickstart Docker Container

Cloudera’s Quickstart Image is a fantastic way to get started quickly with the big data ecosystem. With software such as Hadoop, Spark, Hive, Pig, Impala, and Hue already set up, this Docker image is a must in your big data toolkit. One thing the Cloudera Quickstart container is lacking however, is an easy way to

read more

Add a Shared Directory (Data Volume) to your Docker Container

Adding a data volume to your Docker container creates a shared directory between the container and your host file system. Data in volumes is readable and writeable to any number of containers. Data in volumes is designed to persist regardless of a containers life cycle, so deleting a container will not delete or change the

read more

Create a Docker group Linux

When working with Docker in Linux, you may find yourself using sudo before every Docker command. This is because the docker daemon binds to a Unix socket (which by default is owned by the root user) rather than a TCP port. Thus the reason for always needing to use sudo. A good way to avoid

read more