DockerCommand
Read Container Logs
Type this command
docker logs CONTAINERPrints the output a container has written. Add -f to keep watching new lines.
The Docker command to read container logs is docker logs CONTAINER.
docker logs CONTAINERdocker logs CONTAINERPrints the output a container has written. Add -f to keep watching new lines.
Run docker logs CONTAINER.
Run docker logs CONTAINER.
Type it in the terminal or command-line interface used by Docker.
Yes. The command text is the same on both platforms when the tool is installed.