17. Develop With Docker
• build a image from the Dockerfile
• run a container from the image
• show the history of a image
• commit changes of a container to a new image
• stop, start, rm a container; rmi a image
Docker Command
18. Develop With Docker
Dockerfile
• Image 建⽴立腳本
FROM ubuntu:14.04.1
RUN apt-get update -y
RUN apt-get install -y cmake
RUN apt-get install -y vim
RUN apt-get install -y wget tree
ADD scripts/bashrc /.bashrc
WORKDIR /data