随笔分类 - 容器
摘要:1、安装docker和nvidia-docker2 安装Docker,直接执行官方安装脚本安装: curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 编辑/etc/docker/daemon.json配置 { "run
阅读全文
摘要:一、安装依赖 sudo apt update sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y 二、配置源 curl -fsSL https://mi
阅读全文
摘要:一、 通过docker run –ulimit 参数设置这个容器的 ulimit 值 docker run --ulimit nofile=1024:1024 --rm debian sh -c "ulimit -n" 二、通过配置 daemon.json 配置默认值 配置nofile { "def
阅读全文