![](https://img-blog.csdnimg.cn/20190927151101105.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Docker
Docker
爱敲代码的洋葱
这个作者很懒,什么都没留下…
展开
-
WSL的安装及docker-desktop目录迁移
Windows下WSL使用原创 2022-06-18 22:41:59 · 1153 阅读 · 0 评论 -
使用Rancher安装k8s
使用Rancher安装k8s提前安装docker遇到的问题# sudo apt install ufwsudo ufw disablesudo ufw status# sudo apt install firewalldsudo systemctl stop firewalldiptables -P INPUT ACCEPTiptables -P FORWARD ACCEPTiptables -P OUTPUT ACCEPTiptables -F使用docker安装Ranche原创 2022-02-25 13:11:41 · 933 阅读 · 0 评论 -
Ubuntu安装docker开发环境
Ununtu安装docker开发环境1.使用apt安装docker和docker-compose# 安装dockersudo apt-get install docker.iosudo groupadd dockersudo gpasswd -a ${USER} dockersudo systemctl restart docker# 安装dokcer-composesudo apt-get install docker-compose2.更换国内源修改/etc/docker/dae原创 2022-02-25 13:01:12 · 558 阅读 · 0 评论 -
使用docker自定义nginx服务
使用docker自定义nginx服务Dockerfile文件FROM nginxCOPY nginx.conf /etc/nginx/conf.d/default.conf# 此处更换为自己需要移动的文件或文件夹COPY XXX /usr/share/nginx/html/nginx.conf文件server { listen 80; server_name _; client_max_body_size 1000m; autoindex on; a原创 2021-12-30 18:18:07 · 1409 阅读 · 0 评论 -
Ubuntu系统Docker使用nvidia显卡
Ubuntu系统Docker使用GPU1.配置nvidia源curl -s -L https://nvidia.github.io/nvidia-container-runtime/gpgkey | \ sudo apt-key add -distribution=$(. /etc/os-release;echo $ID$VERSION_ID)curl -s -L https://nvidia.github.io/nvidia-container-runtime/$distribution/原创 2021-12-15 10:10:58 · 2010 阅读 · 0 评论