启动交互环境
docker run -i -t ubuntu:18.10 /bin/bash
下载镜像
docker pull 镜像名
查找镜像
docker search 镜像名
创建镜像
Dockerfile https://yeasy.gitbooks.io/docker_practice/image/build.html
docker build
以进程方式运行docker
docker run -d ubuntu:18.10 /bin/sh -c "while true; do echo hello world; sleep 1; done" 输出 919bd55583f6293b6