Skip to main content

Docker

Docker 是一個開放原始碼軟體,是一個開放平台,用於開發應用、交付應用、執行應用。 Docker允許用戶將基礎設施中的應用單獨分割出來,形成更小的顆粒,從而提高交付軟體地速度。 Docker容器 與虛擬機器類似,但原理上,容器是將作業系統層虛擬化,虛擬機器則是虛擬化硬體,因此容器更具有可攜式性、高效地利用伺服器。

Secure Docker Network

With SWAG SWAG - Secure Web Application Gateway With iptables 對於 Container 不同啟動方式,在 iptables 的...

MySQL Backup

從 Host 執行 backup-db.sh #!/bin/bash BKDIR="db_backups" BKFILE="cloudcoin_raida#17.`date +%y%...

基本指令操作

常用指令 # List running containers docker ps # ssh into the container docker exec -it <containe...

Docker Compose 指令

NOTE: 服務一旦佈署完成,docker-compose.yml 的路徑如果有變更,就不能繼續使用指令 docker-compose 來管理 container,不過已經啟動的服務運行不會影響...

Installation

Docker Compose Updated: 新版 Docker Compose 已經整合進 Docker 核心程式 安裝方式 sudo apt-get install docker-c...

Dockerfile

Build Image Basic build command cd /path/to/Dockerfile docker build -t your-tag/your-name . S...

Learning

教學文章 How to SSH into a Docker Container Monitoring Docker Containers With Grafana Using Dockp...

SWAG - Secure Web Application Gateway

SWAG is a rebirth of the letsencrypt docker image, a full fledged web server and reverse proxy th...

Transfer/Move Docker

Sample: osslab-dekiwiki docker run -d -p 8880:80 \ -v /etc/localtime:/etc/localtime:ro \ -v $P...

Portainer

Introduction https://www.portainer.io/  A centralized service delivery platform for containeriz...

Watchtower

Setup run.sh docker stop watchtower-myst-presearch-storj docker rm watchtower-myst-presearch-s...

進階應用

存取 Container 網路 有個 Container 服務只需要與同個 Docker Network 的其他 Container 做通訊,平常不需要對外開放通訊埠,只有在開發或 Debug...

Linux Distros for Running Container

5 Best Lightweight Linux Distros for Running Containers (tecmint.com) Photon OS https://v...

Dockerize Custom Application

Tutorials Dockerize a Python application - DEV Community DEV Community