Redirect "docker logs" output to file Snippets Docker Redirection Dec 07, 2018 docker logs containerNameOrID >& file.log docker logs nginx 2>&1 | grep "127." PREVIOUSChange restart policy of running containersNEXTSquashing commits with rebase for clean merge requests