Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Add better error reporting to install_docker.sh #5

Description

@Zalgo2462

We should add set errexit and a bash trap to the install_docker.sh script in order to better diagnose runtime errors. In addition, all uses of curl should have the --fail flag so curl triggers the error trap if it hits a snag.

For an example, see install_beaker.sh https://github.com/activecm/BeaKer/blob/52eeea74b1b0eaf0705514755aab24155a62be9f/installer/stage/BeaKer/install_beaker.sh#L16

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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