2 ms·
> More concretely, how would you refactor a tool like grep? Don't refactor it. Write a wrapper which runs grep inside a lightweight container and - redirects s
by codethief 1y ago
> More concretely, how would you refactor a tool like grep?
Don't refactor it. Write a wrapper which runs grep inside a lightweight container and
- redirects stdin & stdout/stderr appropriately,
- bind-mounts inside the container any files/directories passed as parameters.