Created
December 27, 2021 20:55
-
-
Save viniciusjssouza/113338aec420008c0ef170b7a590b6d6 to your computer and use it in GitHub Desktop.
Redirect docker exec output to the original container stdout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker exec -it <container id> sh -c "ls -alh > /proc/1/fd/1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment