发布

  • 9805 7238fcd0f3

    Bug 4809 Docker Run Script Fixes and Improvements (#4922)

    frostbyte_neo 发布于 2020-11-11 18:48:02 +00:00 | 2724 次提交 在此版本后已推送到 master

    • Refactor and hotfix run script

    Removed dependency on realpath, notably absent from macOS and some debian distros. Replaced with an equivalent bash function.

    Cleaned up prompt response handling, replaced var tests with param expressions.

    Removed potentially uneeded calls to sudo (again absent on some systems and most users are part of the docker group anyway). Instead, test if it's needed and get preauth with sudo -v.

    Poll for running and stopped Lean containers, and prompt before replacing them. Would fail prior.

    Uppercased variabled. Sorry.

    • Revert docker output redirection to stderr

    • Adjustments to maintain all functionality

    • Mimic behavior across run scripts

    • Update readme to reflect Docker script changes

    • Ignore results storage

    • Correct print statement

    • Mirror changes on research docker scripts

    • Make executable

    • Handle already running container and sudo privs

    • Fix for issues found in testing

    • Address Review

    • Small adjustments found in linux testing

    • Doc improvement

    • Add auto update option for Docker images

    • Fix image var reference

    Co-authored-by: Peter Kazazes peter@peterk.co

    下载附件