Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  Install Kubernetes with minikube and docker on Ubuntu

When someone just wants to play around Kubernetes on its local environment without accessing to Cloud provider resources, one can set Kubernetes up on local environment with minikube with single node mode.This post will provide a simple guideline on how to set up KUbernetes with minikube and docker on Ubuntu.Before all the steps can be started, you may need to first set up kubectl which is a command line tool to operate on Kubernetes resources.Post that, can ensure that docker is installed on Ubuntu, in case it's not installed, can follow below steps.Update local software repository databasesu...

1,805 0       UBUNTU DOCKER KUBERNETES MINIKUBE


  Kubernetes: Docker out

Recently,The hottest news in the Kubernetes circle that docker will be deprecated has been confirmed by the release of 1.20.Docker support in the Kubelet is now deprecated and will be removed in a future release. The Kubelet uses a module called “dockershim” which implements CRI support for Docker and it has seen maintenance issues in the Kubernetes community. We encourage you to evaluate moving to a container runtime that is a full-fledged implementation of CRI (v1alpha1 or v1 compliant) as they become available. — from Kubernetes 1.20 changelogThe news caused a tremend...

3,167 0       KUBERNETES DOCKER DOCKERSHIM


  Fix could not read Username for 'https://xxx.com': terminal prompts disabled

Recently was working on a project which needed to build a docker image, but unfortunately it kept failing as below error was seen.fatal: could not read Username for 'https://xxx.com': terminal prompts disabledBased on the error, it looked like it was trying to pull code from remote Gitlab repository but failed as the terminal prompt is disabled.At first glance, have a doubt why it needs terminal prompt to be enabled? It should just succeed and without prompting for anything. The only reason for prompting is that it needs user authentication to login to the remote Gitlab repo and fetch code.&nb...

8,547 0       GIT DOCKER TERMINAL PROMPTS DISABLED


  Push docker image to remote AWS ECR

With the popularity of distributed and large-scale systems, there are more and more adoptions of cloud services. One of the most popular container in the market is Docker and one of the most popular cloud service provider is AWS. From development perspective, there is frequent need to push local docker image to remote ECR for debugging or testing purpose.Normally when a code change is done and the committed change would go through a series of process like code review, push to remote repo, merge to master, trigger CI/CD pipeline and then get docker image generated and pushed to ECR, thereafter ...

1,350 0       CLOUD DOCKER AWS AWS ECR


  Fix issue docker-credential-desktop not installed or not available in PATH on Mac

Sometimes you may encounter below issue while running docker-compose on MacOS.Traceback (most recent call last): File "docker-compose", line 6, in <module> File "compose/cli/main.py", line 71, in main File "compose/cli/main.py", line 127, in perform_command File "compose/cli/main.py", line 1085, in up File "compose/cli/main.py", line 1081, in up File "compose/project.py", line 527, in up File "compose/service.py", line 354, in ensure_image_exists File "compose/service.py", line 1222, in pull File "compose/progress_stream.py", line 102, in get_digest_from_pull File "compose/serv...

15,167 0       DOCKER MACOS DOCKER-COMPOSE


  Supervisord, God and Monit, which one to choose?

With the popularity of Docker, more and more service have been moved into docker containers and they are easy to build up and maintain for each atomic service(though it's a bit complex to maintain multiple docker containers which contain different service to form a complete solution). Ideally, each docker container should only contain one service which has only one running process. However, in reality there would be cases multiple processes would run in one single docker container and there is a master process. In this case, to monitor all these processes would be a challenge task.In cases whe...

18,249 2       DOCKER DEVOPS MONIT SUPERVISORD GOD


  OpenLDAP Proxy -- Installation and configuration

After understanding what the configuration would be for an OpenLDAP proxy, it's time to explain the installation of OpenLDAP proxy and how to make it run. In this post, we will cover how to install OpenLDAP proxy both locally and using docker.Local installationThe installation is quite easy, there are a few packages to be installed including the ldap server, ldap client and some utilities. Below steps are for CentOS, the instructions for other platforms should be similar with minor differences on packages names and package locations.Install openldap openldap-clients openldap-serversyum in...

19,242 0       INSTALLATION CENTOS DOCKER OPENLDAP OPENLDAP PROXY


  Products born for Cloud

Cloud computing has become increasingly popularity among companies. It greatly saves the investment of infrastructure and training with everything is running on cloud, it also improves the accessibility and flexibility of service provided by companies. With its popularity, many products are born or becoming popular to help build and move the apps to the cloud.Some well known names of these products are Vagrant, Docker/LXC, Chef and OpenStack. These tools can help create, test and deploy applications developed without concerning too much about platform differences. What are the relationship of ...

5,416 0       CLOUD OPENSTACK DOCKER VARGRANT LXC CHEF