We just need the id of the container we want logs to be retrieved, and then execute this command.

docker logs container-id