A
A
Asya2020-09-14 18:56:45
Docker
Asya, 2020-09-14 18:56:45

How to see the docker logs of the last container that has already closed?

I didn't save the ID of the container that worked last,
but I need to see the logs,
how can I do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2020-09-14
@inoise

No way. It is necessary to have a separate logging system. Entity containers are temporary and nothing remains of them when stopped. This is not a virtual machine. Well, or connect a single volume for logs, but this is such an idea

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question