08 2024 档案
摘要:列出所有标签为“none”的镜像 docker images --filter "dangling=true" 删除所有标签为“none”的镜像 docker rmi $(docker images -f "dangling=true" -q)
阅读全文
摘要:在创建redis时,注意指定docker内使用的网络为当前主机 --network host docker run --name redis -p 6379:6379 --restart=always --network host -d redis
阅读全文
摘要:问题,项目启动报错: Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Fai
阅读全文
摘要:修改daemon.json配置 vim /etc/docker/daemon.json 输入i 替换为: { "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } }, "experimental": true, "
阅读全文