Skip to content

run.sh里面有删除所有docker危险操作 #9

@Dylan-JD

Description

@Dylan-JD

cleanup() {
docker ps -a -q | xargs -r docker rm -f || true
docker image prune -af || true
rm -rf "$SETUP_DIR"
}
会将所有docker全部删除,会把用户环境的正常使用的docker也同步删除

危险操作

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions