Docker Engine






特色 //

Docker overview //

Docker Platform //

Docker Hub: a cloud hosted service from Docker that provides registry capabilities for public and private content.

Docker Cloud : for Docker container management and deployment.

Docker Data center:


Docker Compose


  1. Compose is a tool for defining and running multi-container Docker applications.
  2. 3 個步驟 :

Using Compose is basically a three-step process.
1) Define your app’s environment
2) Define the services that make up your app in docker-compose.yml
3) Lastly, run docker-compose up and Compose will start and run your entire app.

  1. compose documentation

安裝 :
1) Install Docker Engine: 依OS 選一種
2) The Docker Toolbox installation includes both Engine and Compose, so Mac and Windows users are done installing. Others should continue to the next step.

4 啟動
Get started with Docker Compose //

1) 先把Docker engine和Docker compose 裝好
2) 然後有6個步驟 : Step // 參;

3) 快速啟動指引: Next, try the quick start guide for Django, Rails, or WordPress.
5 指令檔: command-line reference, 這要留起來,不然要用時會找不到

6 Docker-compose 怎麼用?

要看這個: Overview of docker-compose CLI
參 :

7.Compose CLI environment variables
參 :




Docker : ID, Engine

看了前一篇 Docker 的概念, 再來想用 Docker 須先申請一個帳號

  • Docker 帳號申請 :

有這帳號, 就可以用  Docker Store, Docker Cloud, Docker Hub repositories, and some beta programs.

  • Docker 引擎的安裝, 有Mac, Windows, Linux 3 種.
  1. Docker installation on Windows

參考:  Install Docker on Windows ,前一篇說過 for window 有些要求.

  • 64bit Windows 10 Pro, Enterprise and Education (1511 November update, Build 10586 or later). In the future we will support more versions of Windows 10.
  • The Hyper-V package must be enabled. The Docker for Windows installer will enable it for you, if needed. (This requires a reboot).

安裝指引 : Download and install instructions, and to learn all about Docker for Windows.


安裝後就有 Docker Engine, Docker CLI client, Docker Compose, and Docker Machine.

如果是Window user , 讀: Get started with Docker for Windows

2. Docker installation on Linux

但Linux distributions 又有好幾種,  document就是用查的, 用哪一種 就查哪一種.

若 OS 是 Ubuntu, 參考 : Install Docker on Ubuntu





%d 位部落客按了讚: