When using mysql client to login MySQL, it throws the following error: If it’s alpine linux, then simply install mariadb-connector-c
Category: Docker
Linux Docker uses excessive memory
Issue: I have a 16G memory and configured swap as 16G. When start mysql docker, mysqld uses crazy amount of memory and make the system freeze. References: https://success.docker.com/article/node-using-swap-memory-instead-of-host-memory Solution
Time Clock Management System developed with Yii2 REST API + Angular 2 + Docker
Time Clock Management System (Yii2 REST API + Angular 2 + Docker) Source Repo: https://github.com/chrisleekr/time-clock-management-system-yii2-rest-api-angular2-docker This is a personal project for learning Angular 2. The project contains two applications, one for REST API backend, and the another for Angular 2 frontend. The project involves: Yii2 for providing RESTful API including user login/logout, managing global…
Docker 1.12 – Deploying Docker Services within Docker Swarm Mode and Docker Machine
Docker 1.12 – Deploying Docker Services within Docker Swarm Mode and Docker Machine Source Repo: https://github.com/chrisleekr/docker-swarm-scalable-web-application-architecture This is proof-of-concept project to set up Docker Swarm in development environment with single command. This project involves: Docker Machine Docker Swarm – Docker Built-in Orchestration Local Docker Registry Docker Network Docker Service Note: This project is created for…
Docker Tor+Proxy
Run tor and proxy server in docker and set Chrome browser to send all traffics to docker tor proxy server Environment: Windows 7 Docker Toolbox – https://www.docker.com/products/docker-toolbox Proxy Helper – https://chrome.google.com/webstore/detail/proxy-helper/mnloefcpaepkpmhaoipjkpikbnkmbnic?utm_source=chrome-app-launcher-info-dialog Step 1: Create docker-compose-tor.xml version: ‘2’ services: torproxy: image: jess/tor-proxy expose: – “9050” restart: “always” privoxy: image: jess/privoxy links: – torproxy ports: – “8118:8118” expose: – “8118” restart:…