第七集:Docker之Dockerfile案例-快速搭建stress

方式1:

  • 运行ubuntu直接安装stress

  • 使用256内存,debug输出

  • 指定超出容器内存的任务

方式2:

  • 编写Dockerfile

  • 构建

  • 在本机与容器交互运行

  • 遇到这种情况 开一个新的终端 docker stop xxxxx

猜你喜欢

转载自blog.csdn.net/super_lixiang/article/details/83653788
今日推荐