zoukankan      html  css  js  c++  java
  • Centos下Docker安装与使用的相关命令

      299  sudo yum install -y yum-utils device-mapper-persistent-data lvm2
      300  systemctl docker status
      301  yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
      302  sudo yum makecache fast
      303  sudo yum -y install docker-ce
      304  sudo systemctl start docker
      305  docker run hello-world
      306  systemctl docker status
      307  systemctl  status docker
      308  docker ps
      309  docker ps -a
      
      315  docker exec -it 5621af6c35d7  /bin/bash
      316  docker images
      317  docker search tomcat
      318  docker pull tomcat
      319  docker images|grep tomcat
      320  docker ps
      321  docker start 78b258e36eed
      322  docker run -i -t tomcat /bin/bash
      328  netstat -ltnp
      
      337  docker run --name tomcat -p 8080:8080 -v $PWD/test:/usr/local/tomcat/webapps/test -d tomcat
      338  netstat -ltnp
      339  docker ps
      340  docker stop tomcat
      341  docker ps
      342  docker exec -it tomcat /bin/bash
     
      346  docker rm -f 1c68e45e22eb
      347  docker ps -a
      348  docker start 7fab2a8ffe84
      349  docker ps
      350  docker exec -it 7fab2a8ffe84 /bin/bash
     
      363  docker start  tomcat
      364  docker ps
      365  docker exec -it tomcat /bin/bash
     
      405  docker stop  7fab2a8ffe84
  • 相关阅读:
    团队开发冲刺第二阶段_1
    团队开发冲刺第一阶段_7
    mysql 官方集群
    Tomcat提高并发
    Percona XtraDB Cluster 5.7
    Mysql常用配置及优化
    Linux 常用命令
    数据库主从复制
    Linux 环境下Web环境搭建————ActiveMQ
    Linux 下Web环境搭建————redis
  • 原文地址:https://www.cnblogs.com/ziwuxian/p/10070677.html
Copyright © 2011-2022 走看看