Digital Marketing

Checking Container Logs

When a container is either running in the background (it has been forked with `docker run -d`), or
it has exited early, it can be useful to see the container logs.
docker logs <container-id/alias>
This will print out the current content of the container logs to the terminal. To follow these logs, add
the -f parameter. To see timestamps with the logs, use the -t parameter.

Comments

Popular posts from this blog

Make online money from the Internet