Skip to content

Ignore debug output #51

Description

@nollium

When running any binaries compiled by dockerc on my system, the following debug output is displayed:

newuidmap failed, falling back to single user mapping
newgidmap failed, falling back to single group mapping
unknown argument ignored: lazytime

A quick code search brought up this snippet of the main.zig file:
image

This seems to be debug logging, it would be useful to have an option to disable it when compiling the binary.

For context: my use case is to use dockerc for non-competitive, beginner focused CTF challenges, the extra debugging output might confuse noob players, and I wish to avoid that.

Currently I have no other choice than patching dockerc source code and building it myself, which is fine, I just wanted to let you know someone had this use-case

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions