又一个SE的博客

技术的点滴

Home Archives
2024-07-18
Docker

Docker容器内执行脚本报错:Permission denied ERROR:

权限不足导致,最简单的方法是docker启动时候指定用户是root

1
docker exec -it --user=root <容器名> /bin/sh

也可以尝试在Dockerfile里面加入如下的配置。
USER root

Buy me a coffee 分享
  • Docker
前一篇
Linux下df命令提示磁盘已满,但是du -sh显示还有空间
后一篇
macOS配置Github环境 | 2024最新

分类

  • AI
  • ActiveDirectory
  • Apache
  • Chrome DevTools
  • D2L
  • Deepseek
  • Docker
  • ElasticSearch
  • Excel VBA
  • GNS3
  • HTML
  • Hexo
  • Java
  • Linux
  • MMYOLO
  • MySQL
  • Node
  • PHP
  • PowerShell
  • Python
  • QwQ
  • Rocky Linux 9
  • StableDiffusion
  • Troubleshoot
  • URL归档
  • Ubuntu
  • Zabbix
  • bat小把戏
  • eNSP
  • macOS
  • nerf-pytorch
  • ollama
  • 免费软件
  • 证明书操作
  • 运维技巧
  • 阿里云

标签

  • AI
  • AWS
  • ActiveDirectory
  • Apache
  • CUDA
  • CentOS7
  • CentOS7升级
  • Chrome
  • Chrome DevTools
  • Chromium
  • D2L
  • Deepseek
  • Docker
  • ESXi
  • ElasticSearch
  • Excel VBA
  • GGUF
  • GNS3
  • Github
  • HTML
  • Hexo
  • Huawei
  • HuggingFace
  • Java
  • Javascript
  • Linux
  • MMYOLO
  • MongoDB
  • MySQl
  • Node
  • OpenAI
  • OpenMMLab
  • PHP
  • PowerShell
  • Proxy
  • Python
  • QwQ
  • Rocky Linux 9
  • Samba
  • Selenium
  • StableDiffusion
  • Streamlit
  • Troubleshoot
  • URL归档
  • Ubuntu
  • VMware
  • VirtualBox
  • Windows
  • Windows平台
  • WordPress
  • Zabbix
  • bat小把戏
  • bge-m3
  • d2l
  • eNSP
  • gd
  • leapp
  • macOS
  • nerf-pytorch
  • npm
  • nvm
  • ollama
  • pandas
  • streamlit
  • text-embedding-3-large
  • troubleshoot
  • 免费软件
  • 图像识别
  • 目标检测
  • 网络工程师
  • 运维技巧
  • 阿里云

标签云

AI AWS ActiveDirectory Apache CUDA CentOS7 CentOS7升级 Chrome Chrome DevTools Chromium D2L Deepseek Docker ESXi ElasticSearch Excel VBA GGUF GNS3 Github HTML Hexo Huawei HuggingFace Java Javascript Linux MMYOLO MongoDB MySQl Node OpenAI OpenMMLab PHP PowerShell Proxy Python QwQ Rocky Linux 9 Samba Selenium StableDiffusion Streamlit Troubleshoot URL归档 Ubuntu VMware VirtualBox Windows Windows平台 WordPress Zabbix bat小把戏 bge-m3 d2l eNSP gd leapp macOS nerf-pytorch npm nvm ollama pandas streamlit text-embedding-3-large troubleshoot 免费软件 图像识别 目标检测 网络工程师 运维技巧 阿里云

归档

  • 三月 2025
  • 二月 2025
  • 一月 2025
  • 十二月 2024
  • 十一月 2024
  • 十月 2024
  • 九月 2024
  • 八月 2024
  • 七月 2024
  • 六月 2024
  • 五月 2024
  • 四月 2024
  • 三月 2024
  • 二月 2024
  • 一月 2024
  • 十月 2023
  • 六月 2023
  • 五月 2023
  • 四月 2023
  • 三月 2023
  • 十月 2022

最新文章

  • 安装cuDNN报错:FreeImage is not set up correctly. Please ensure FreeImage is set up correctly.
  • Docker镜像 php:5.6-apache apt-get update报错:process /bin/sh -c apt-get update did not complete successfully: exit code: 100
  • LM Studio启动QwQ-32B报错:Error rendering prompt with jinja template: Error: Parser Error: Expected closing statement token. OpenSquareBracket !== CloseStatement. | 2025
  • LM Studio启动Deepseek-R1-distill-Qwen报错 | 2025
  • Windows下nvm install 报错:zip: The system cannot find the file specified.
© 2025 another-se
Powered by Hexo
Home Archives