Yum Install libdevmapper*-y
217 Yum Install http://ftp.riken.jp/Linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm centos7.0# #yum Install libdevmapper*-y
218 Yum install-y Docker-io Yum install Docker
219 Docker-h
221 Service Docker Status
222 Service Docker Start
223 Docker pull Ubuntu
224 Docker Images
226 Docker Tag Ubuntu:latest luo:latest
Docker Run-t-I luo/bin/bash creates a container with the Luo image that runs the Bash app
Docker search MySQL//searching for images with MySQL keyword
Docker RMI luo1//Delete LUO1 The specified label for this image
Docker Run Luo echo "Hello World" creates a container using the Luo image and then executes the echo command
Docker ps-a View all existing containers on this machine
Docker RM af Removes a container with the ID AF
Enter the container:
Docker exec-it <container_id>/bin/bash
Container memory copies files to each other
Docker CP foo.txt Mycontainer:/foo.txt mycontainer_name or container ID
Docker CP Mycontainer:/foo.txt Foo.txt
Docker Learning Notes