[docker]Tomcat安装及配置访问权限
1.环境:Centos72.安装dockeryum install -y docker #启动和设置开机自启 systemctl start docker systemctl enable docker3.获取Tomcat镜像,此版本为最新版本docke...
1.环境:Centos72.安装dockeryum install -y docker #启动和设置开机自启 systemctl start docker systemctl enable docker3.获取Tomcat镜像,此版本为最新版本docke...
1.环境:Centos72.运行一个容器[root@idc ~]# docker run -it --rm --name=mynetwork --net=none centos:latest /bin/bash #--net=none:docker不对容...
1.获取官方Nginx镜像文件docker pull nginx2.查看获取的镜像docker images nginx3.配置及启动Nginx容器docker run --name nginx -p 192.168.3.6:8081:80 -d ngi...
1.从镜像库搜索mysql镜像docker search mysql2.获取5.6版本镜像docker pull mysql:5.63.创建mysql目录用来放置相关文件mkdir -p ~/mysql/data ~/mysql/logs ~/mysql...