How to Keep Docker Containers Running

Docker containers, when run in detached mode (the most common -d option), are designed to shut down immediately after the initial entrypoint command (program that should be run when container is built from image) is no longer running in the foreground. This can cause problems because often servers or services running in Docker containers are

read more

Creating a Hadoop Docker Image

Apache Hadoop is a core big data technology. Running Hadoop on Docker is a great way to get up and running quickly. Below are the basic steps to create a simple Hadoop Docker image. Pick an OS Hadoop runs great on a variety of Linux distos. In this post we use Ubuntu 16.04. Install Required

read more

How to checkout git tags

Tags in Git are a way to bookmark specific commits. This is often done to indicate different versions or releases of a project. There is no straight forward way to checkout a tag in Git. But you can checkout the specific commit associated with a tag that into a new branch. This will give you

read more

Pushing Tags to a Remote Repository in Git

Tags in Git are a way to bookmark specific commits. This is often done to indicate different versions or releases of a project. When pushing to a remote repository tags are not included by default. To push a tag to the remote repository use: git push origin <tag name> To push all local tags to

read more

How to Remove Tags from a Git Repository

If you use tags with your Git repositories you know that sometimes it makes sense to remove/delete these tags. Below are samples of removing both local and remote tags from your Git repo. Delete Tag from Local Repository git tag -d <tag name> Delete Tag from Remote Repository (e.g. GitHub) git push origin :refs/tags/<tag name>

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

How to List Tags in Git

Tags in Git are a way to bookmark specific commits. This is often done to indicate different versions or releases of a project. To list the tags you have previously created in the current repository use: git tag. For repositories with many tags it may be useful to find tags by name. This is possible

read more

How to Create tags in Git

“Lightweight” tags in Git are simply pointers to specific commits. You can create a lightweight tag on the command line using: git tag <tag name>. This will create a local tag on the current branch. Listing Tags in Git To list the tags you have previously created use: git tag. For repositories with many tags

read more

Using Input Forms with Shell Scripts – Apache Zeppelin

Apache Zeppelin is a fantastic open source web-based software that allows users to build and share great looking data visualizations using various languages. If you aren’t familiar with using the shell interpreter in Apache Zeppelin, see our related post Creating Graphs with the Zeppelin Shell Interpreter. Apache Zeppelin allows dynamic creation of text input forms

read more

Using Input Forms with SQL Queries – Apache Zeppelin

Apache Zeppelin is a fantastic open source web-based software that allows users to build and share great looking data visualizations using various languages, including SQL. Apache Zeppelin allows dynamic creation of text input forms in your notebooks. Input forms can be created and referenced using a simple template language. For example, using ${variable_name} in a

read more