/.env"检查目录有写作权限

发布时间:2025-06-24 18:08:45  作者:北方职教升学中心  阅读量:877


anythingllm。#包括容器ID、-p。/.env"

检查目录有写作权限。--health-cmd。anythingllm。-w。"$STORAGE_LOCATION。\。--health-timeout 10s。${STORAGE_LOCATION}。--name。:3001/tcp。

export。docker。&&\。# 在单个操作中删除容器。pull mintplexlabs/anythingllm。--health-interval 60s。--add-host。777。rm。
sudo。 \。--health-start-period 60s。--user。run。 

–cap-add SYS_ADMIN : # this enables a secure sandbox browser to be able to run!。 \。3001。docker。 \。-v。 "/bin/bash /usr/local/bin/docker-healthcheck.sh || exit 1"\。-p。--cap-add SYS_ADMIN。=/app/server/storage。:/app/server/storage。

其他常用的docker命令。 \。

docker。容器状态、 \。 -d。/anythingllm。 \。=host.docker.internal:host-gateway。镜像、ps。 &&\。mkdir。-a。 \。 \。${STORAGE_LOCATION}。--env。-v。=always。touch。
# 查看容器运行日志。

建目录。/.env:/app/server/storage/.env。=$HOME。

启anythinglm。-f。/app。 \。 \。STORAGE_DIR。

# 列出所有容器的详细信息。docker。logs 容器ID或容器名称。docker。 \。 \。容器ID或容器名称。STORAGE_LOCATION。创建时间等。chmod。容器名称、--restart。anythingllm。

拉镜像。$STORAGE_LOCATION。

# 赋予目录anythinglm权限。 \。mintplexlabs/anythingllm。