Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Ansible, Pupput, Chef & Docker - Công cụ quản lý cấu hình và tự động hóa (http://quantrinet.com/forum/forumdisplay.php?f=548)
-   -   Bài 3:Hướng dẫn tạo Docker Containers trên Memcached How To Create Docker Containers (http://quantrinet.com/forum/showthread.php?t=9786)

hoctinhoc 23-06-2015 03:12 PM

Bài 3:Hướng dẫn tạo Docker Containers trên Memcached How To Create Docker Containers
 
Bài 3: Hướng dẫn tạo Docker Containers trên Memcached


How To Create Docker Containers Running Memcached



https://www.digitalocean.com/communi...ning-memcached

Introduction

For the majority of web applications, it is extremely rare to find the CPU being the culprit for the dropped HTTP requests or choking the web server hosting them. It usually is an under-engineered setup with no caching layer involved, eating up all the resources of the backend data store (i.e. your database of choice).
Memcached - which by now should need no introduction - can increase the performance of your application deployment stack greatly without making any amendments to your available resources (enabling you to squeeze every last bit of its juices).
In this DigitalOcean article, especially keeping in mind those who host multiple web applications (e.g. multiple WordPress instances, Python Applications, etc.), we are going to create docker images to quickly start running (on-demand) Memcached containers which can be operated individually. These containers, kept and secured within their own environments, will work with the application being hosted to help them get better and faster.
Glossary

1. Docker in Brief

2. Memcached in Brief

3. Installing Docker on Ubuntu

4. Basic Docker Commands

  1. Running the docker daemon and CLI Usage
  2. docker Commands
5. Getting Started with Creating Memcached Images

  1. Quick Recap: What Are Dockerfiles?
  2. Dockerfile Commands Overview
  3. Creating a Dockerfile
  4. Final Dockerfile
  5. Creating the Docker Image for Memcached Containers
6. Running dockerised Memcached Containers

  1. Creating a Memcached Installed Container
  2. Limiting the Memory for a Memcached Container
  3. Testing the Memcached Container
Docker in Brief



https://www.digitalocean.com/communi...ning-memcached


:battay:


Bây giờ là 02:55 AM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.