随笔分类 -  容器

摘要:1、安装docker和nvidia-docker2 安装Docker,直接执行官方安装脚本安装: curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 编辑/etc/docker/daemon.json配置 { "run 阅读全文
posted @ 2024-09-12 15:26 EJW 阅读(373) 评论(0) 推荐(0) 编辑
摘要:一、安装依赖 sudo apt update sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y 二、配置源 curl -fsSL https://mi 阅读全文
posted @ 2024-08-22 17:13 EJW 阅读(150) 评论(0) 推荐(0) 编辑
摘要:一、 通过docker run –ulimit 参数设置这个容器的 ulimit 值 docker run --ulimit nofile=1024:1024 --rm debian sh -c "ulimit -n" 二、通过配置 daemon.json 配置默认值 配置nofile { "def 阅读全文
posted @ 2024-01-16 12:16 EJW 阅读(781) 评论(0) 推荐(0) 编辑