赞
踩
- docker tag IMAGEID(镜像id) REPOSITORY:TAG(仓库:标签)
-
- # 例子
- docker tag ca1b6b825289 registry.cn-hangzhou.aliyuncs.com/xxxxxxx:v1.0
cuda docker hub 地址: https://hub.docker.com/r/nvidia/cuda/tags/?page=1&name=10.1
sudo docker run -it -p 9558:22 --gpus all --privileged --net=bridge --ipc=host --pid=host --name infer -v /workspace:/workspace cu118_cn8_:v0 /bin/bash
-v 宿主机目录:容器内目录
- docker pull nvidia/cuda:10.1-devel-ubuntu18.04
-
- docker hub 官网 https://hub.docker.com/r/nvidia/cuda/tags/?page=1&name=10.1
- docker start tvm_docker
-
- docker attach tvm_docker
systemctl status docker
- docker ps | grep 关键词 # 显示容器
- docker ps -a # 显示所有容器
- docker ps # 显示运行中的容器
- docker commit 5fd478f3a9a7 tvm_docker
-
- docker push tvm_docker
- docker rm 147051a21fd9 # 删除容器
- docker rm -f 147051a21fd9 # 强制删除容器
-
- docker rmi 147051a21fd9 # 删除镜像
- dokcer rmi -f 147051a21fd9 # 强制删除镜像
- docker save -o newname.tar dockername/or/imagename
-
- docker load < newname.tar
docker kill 容器id
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。