• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

view

Docker container logs

December 10, 2021

How to check Docker container logs. Look for the container ID.

$ docker ps -a
3e2c1193915f

$ docker ps -a 3e2c1193915f

To view the logs for the container.

docker logs 3e2c1193915f
# or
docker container logs 3e2c1193915f

docker logs 3e2c1193915f # or docker container logs 3e2c1193915f

Filed Under: Linux Tagged With: container, docker, logs, view

View contents of tar file

September 8, 2019

Here’s how to view the contents of a tar file without extracting the files.

tar -tvf file.tar

tar -tvf file.tar

Filed Under: Linux Tagged With: extracting, linux, tar, view, without

  • Home
  • About
  • Archives

Copyright © 2023