I set "stdout" in the docker file to send application logs to the host docker. My requirement is to send container logs to the cloud and docker hosts. For cloudwatch, I used the awslogs driver in docker-compose, but now the logs do not appear in the docker host [docker log container]. I am using an instance of EC2.
Error:
"logs" command is supported only for "json-file" and "journald" logging drivers (got: awslogs)
Please suggest how to implement both.
source
share