systemctl start docker.service
systemctl. enable docker.service
systemctl grep docker 查看docker进程的状态
systemctl disable firewalld
yum -y install iptables-services
systemctl enable iptables
systemctl start iptables
docker search java 搜索java docker
docker pull java
docker images
docker run
docker run -it java java -version
docker run -it java ps
docker run -it java uname
docker run java ip addr
docker run java env 环境变量
docker exec -it mysqlsrv1 /bin/bash
docker exec -it mysqlsrv1 env
原文:https://www.cnblogs.com/ycdx2001/p/docker.html