Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DockerCompose.exec() that supports stdin #383

Open
nedtwigg opened this issue Oct 18, 2019 · 0 comments
Open

DockerCompose.exec() that supports stdin #383

nedtwigg opened this issue Oct 18, 2019 · 0 comments

Comments

@nedtwigg
Copy link

The pg_restore command can take a file argument, or you can pass the file contents over stdin. In order to pass a file, you have to deal with mounting, but over stdin you don't. Right now there's no way to pass content to stdin, and it would be useful if there was.

Maybe add an Optional<byte[]> stdin parameter which would be written to the process stdin?

@Value.Immutable
public abstract class DockerComposeExecOption {
@Value.Parameter
public abstract List<String> options();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant