Skip to content

Run multiple files #17

Open
Open

Description

@mama00

Is there a way to run multiple files in one docker?

Activity

  1. psviderski commented on Feb 25, 2021

    @psviderski
    Contributor

    Do you mean to run multiple commands/processes with one epicbox.run? I guess you can try to pass a command like "/bin/command1 arg1 arg2 && command2 argX argY". Eventually the command that is executed in a container is wrapped into /bin/sh -c: https://github.com/StepicOrg/epicbox/blob/master/epicbox/sandboxes.py#L68

  2. mama00 commented on Feb 25, 2021

    @mama00
    Author

    Cant I use the stdin parameter to pass the input to each of the command/process? And also how costly would it be to run a compiler online with epicbox? I mean you have a thousand of request to compile untrusted code. For each of theses requests a container is created

  3. reopened this on Feb 25, 2021
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