docker简介
docker的安装
撰写简易的docker 执行脚本
这里需要知道两个命令:
1. 显示docker信息的命令:
sudo docker images
2.运行docker镜像
sudo docker run -it <docker镜像> /bin/bash
首先查看docker name:
sudo docker ps
查看name 字段:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6b77fa01976b cambricon/test/ubuntu:v4.4 "/bin/bash" 2 minutes ago Up 2 minutes wizardly_stallman
从Host-->container
sudo docker cp /home/videos/Desktop/neuware-8.1.0.deb wizardly_stallman:/home/Cambricon-Test