Docker 创建一个临时容器并进入容器中。
centos 8
docker run -it -v ~/softs:/data centos:8 bash
--rm
docker run --rm -it -v ~/softs:/data centos:8 bash