文章列表
依赖jar包
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>1.1.2-beat1</version>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fi ...
1查看容器 运行和未运行的
docker ps -a
查看Pid需要安装nsenter 工具
$ wget https://www.kernel.org/pub/linux/utils/util-linux/v2.24/util-linux-2.24.tar.gz; tar xzvf util-linux-2.24.tar.gz
$ cd util-linux-2.24
$ ./configure --without-ncurses && make nsenter
$ sudo cp nsenter /usr/local/bin
2.查看容器的pid
...
首先安装epel扩展源:
sudo yum -y install epel-release
然后再安装pip
~]# sudo yum -y install python-pip
step1
yum install docker
step2
docker --version
step3
systemctl docker start
step4
docker images
step5.mkdir app
step6
cd app 依次创建三个文件 DockerFile requirements.txt app.py
DockerFile
# Use an official Python runtime as a parent image
FROM python:2.7-slim
# Set the working directory to /app
WOR ...
1.mkdir webpack-demo && cd webpack-demo
npm init -y
npm install webpack webpack-cli --save-dev
2.