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

How to use it with #1

Open
tshaiman opened this issue Feb 21, 2021 · 1 comment
Open

How to use it with #1

tshaiman opened this issue Feb 21, 2021 · 1 comment

Comments

@tshaiman
Copy link

No description provided.

@tshaiman
Copy link
Author

Hi ,
I have a container that I want to auto-generate the seccomp profile as your tutorial shows.
however the container does not run in standalone mode and is getting its information from other services.
so one way we can ran it outside k8s which is its native runtime execution is a mock using docker-compose.

Question is , how can I redirect the output and use 'scgen' when I'm from "docker-compose up" and not "docker run" ?

in other words , what is the equivalent to this command :
docker run --rm --security-opt seccomp=unconfined img1:scgen 2>&1 | scgen -verbose

when img1:scgen is just 1 out of 3 containers in Docker-compose ?

thank you
amazing Project.

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