Home » Tag Archives: Docker

Tag Archives: Docker

Using Minikube on osx

Docker compose is making for me wonders when it comes to run some simple components on my workstation. Spawning and simulating an infrastructure locally is fast and takes no time. Also it is lightweight. However most teams nowadays use Kubernetes.If you want to simulate a Kubernetes environment locally the tool to use is Minikube. With Minikube you need to have ...

Read More »

Kubernetes and Secrets

This is going to be a small post since it has to deal with kubernetes and secrets. Yet it is a very useful once since adding secrets is so common yet so easy to forget (guilty as charged). So we will cover username and password, key/values, file uploading, secrets. Upload username and password using command line. kubectl create secret generic ...

Read More »

Docker Trick: Running Containers Efficiently Using A Bash Script

One of the basic problems with running a docker image is that its too easy to spew up multiple instances or containers of the same image. Consider running the following container for instance: docker run -it -e AWS_ACCESS_KEY_ID="test" -e AWS_SECRET_ACCESS_KEY="test" \ --net=host "prahladyeri/testimage:latest" /bin/bash This will start a fresh container instance from image prahladyeri/testimage:latest and you may optionally pass environment ...

Read More »

Docker is the best thing to happen to Linux since the GNU bread

Its has become an oft-repeated cliche now that docker has become the latest buzzword, both in DevOps circles as well as the open source community. But being the ever cynic and contrarian, I wasn’t quite convinced of its merits until quite recently, I thought it was just another hype that will come and go like all other things. After all, ...

Read More »

Docker | Windows 10/ Mac OS | unauthorized: incorrect username or password when trying to pull images

It happens because the docker client (on macOS or Windos 10) allows you to sign in with your email address and password. If you sign out and sign in with your Docker Username and password everything will work. So here’s a better description of the issue Description When trying to pull images from the Docker registry docker: Error response from daemon: ...

Read More »

Easy Container Cleanup in Cron + Docker Environments

By nature, Docker containers are temporary. Yet as anyone who runs containers via Cron can tell you, it’s not always so great at cleaning up after itself. In today’s article, we are going to explore two flags that make it easier to run Dockerized Cron jobs. Before we get too far into this article, let’s explore how we would traditionally ...

Read More »

Adjusting Linux Kernel Parameters with Docker Compose

Docker Compose is a great utility for anyone developing Dockerized applications. It’s a tool that I personally use daily. Recently I came across yet another powerful feature of Docker Compose: the ability to change Linux Kernel Parameters. In today’s article, we will explore how to use this often overlooked but “useful when you need it” feature of Docker Compose. To ...

Read More »

Get Started Quickly with Docker and Sidekiq

In the past, I had tried to set up Docker during a few different programming competitions without ever having used it before. During the crunch time, I was unsuccessful in both setting it up and learning how it worked. But in those competitions I had the good fortune that my teammates were all able to configure their environment for the ...

Read More »