Build something fun

Technology, Ideation, Startup

Kafka Sasl Client Setup

layout: post title: “connect to kafka cluster with SASL” subtitle: [“GUI Tools Kafka setup”, “kafka 客户端SASL配置”] author: “Ray” header-style: text tags: Docker I found there are two GUI clie...

Docker network

basic instruction

Name space in linux UTS (Hostname+DomainName), User, Mount, IPC, Pid, Net In docker virtual network interface was used. Bridged network used to connect the containers A good reference Understandi...

Create a docker image

basic instruction

Create a new image from a container’s changes Usage: Docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]] e.g: Get a busy box image and create a file inside container...

Kubernetes introduction

introduction to kubernetes

What is Kubernetes? Kubernetes, AkA k8s.Kubernetes, is an Production-Grade Container Orchestration System. It can automating deployment, scaling, and managing containerized applications. What Kube...

Limit container resources

Set up resource constrains容器资源限制

By default, a container has no resource constrains and an use as much of resource as kernel scheduler allows. We can restraint CPU, Memory and GPU usage for docker Memory and OOM On Linux hosts, ...

Build private docker registry

use docker distribution

If you do not want publish your docker to public registry(e.g. dockerhub, aws, aliyun etc). You can use a local/private registry. Docker provide docker registry(which is is a docker image) A good ...

Dockerfile

Build your own docker

We can use storage volume docker exec, ansible (and similer software) docker run with options, container based on container etc to build a customized a docker. But with dockerfile it...

Docker storage

Docker data volume

Quote from docker.com “Copy-on-write is a strategy of sharing and copying files for maximum efficiency. If a file or directory exists in a lower layer within the image, and another layer (including...

Useful docker commands

practical docker

Some most used docker commands. On ubuntu, if docker install with snap, add /snap/bin/ to PATH Most docker command should have two levels. But for comparability reason commands can be both top lev...