EADST

Basic Docker Container Commands

Check running containers: docker ps

Check all containers: docker ps -a

Enter the running container: docker attach container_name

Leave the running container: Press Ctrl+Q+P

Create a new container copying from previous container:

docker run --gpus all --name=new_container_name -ti --ipc=host -v $(pwd):$(pwd) -w $(pwd) previous_container_name:version

相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
站点统计

本站现有博文266篇,共被浏览440757

本站已经建立2019天!

热门文章
文章归档
回到顶部