Docker mengarahkan kembali file stdout dan stderr
FROM alpine:latest
CMD cat /etc/alpine-release file_does_not_exist.txt > /home/output.txt 2>/home/error.txt
DreamCoder
FROM alpine:latest
CMD cat /etc/alpine-release file_does_not_exist.txt > /home/output.txt 2>/home/error.txt
$ docker run -a stderr dockeroutput
cat: can't open 'file_does_not_exist.txt': No such file or directory