Is it possible that merging docker logs -f
output and docker exec
result?
I already tried to redirect docker exec
results to docker logs
file. My environment that host is MacOS and run ubuntu docker image.
相关问题
- Docker task in Azure devops won't accept "$(pw
- Unable to run mariadb when mount volume
- Unspecified error (0x80004005) while running a Doc
- What would prevent code running in a Docker contai
- How to reload apache in php-apache docker containe
You can run
sh -c
is required so that your shell doesn't interpret the redirection