apt-get update
sudo apt-get install apt-transport-https ca-certificates
apt-get install -y docker.io
docker -v
docker pull tomcat
docker run -it -d -p 8888:8080 tomcat:latest
docker ps
验证: http://ip:8888 出现tomcat默认首页即为成功
docker stop ps的哪个号码
apt-get update
sudo apt-get install apt-transport-https ca-certificates
apt-get install -y docker.io
docker -v
docker pull tomcat
docker run -it -d -p 8888:8080 tomcat:latest
docker ps
验证: http://ip:8888 出现tomcat默认首页即为成功
docker stop ps的哪个号码