Rectify docker running command (#95)
/kind bug 原始的 Docker 运行命令无法在 zsh 下正常执行: ```bash ╰─❯ docker run \ -it -d \ --name halo-next \ -p 8090:8090 \ -v ~/halo-next:/root/halo-next \ -e HALO_EXTERNAL_URL=http://localhost:8090/ \ # 请修改外部访问链接 -e HALO_SECURITY_INITIALIZER_SUPERADMINPASSWORD=P@88w0rd \ # 请修改管理员密码 -e HALO_EXTERNAL_URL=http://localhost:8090/ \ -e HALO_SECURITY_INITIALIZER_SUPERADMINPASSWORD=P@88w0rd \ halohub/halo-dev:2.0.0-alpha.1 docker: invalid reference format. See 'docker run --help'. zsh: command not found: -e zsh: command not found: -e ``` 去掉注释部分可正常执行: ```bash ╰─❯ docker run \ -it -d \ --name halo-next \ -p 8090:8090 \ -v ~/halo-next:/root/halo-next \ -e HALO_EXTERNAL_URL=http://localhost:8090/ \ -e HALO_SECURITY_INITIALIZER_SUPERADMINPASSWORD=P@88w0rd \ halohub/halo-dev:2.0.0-alpha.1 55d9de646deb1ec99d22210f45be44b83ec76186d5cbce00983f57d9ff46d834 ``` ```release-note None ```JohnNiang-patch-1
parent
7c5457c36f
commit
09a71990e1
Loading…
Reference in new issue