Open 0x0916 opened 5 years ago
You need oci-register-machine to make that work. But that has caused lots of issues with systemd doing some weird things to the containers, so we have decided to stop supporting oci-register-machine, for now.
You need to exec into the container to view the logs.
@rhatdan thank you for your info.
I have already installed oci-register-machine-0-6.git2b44233.el7.x86_64
. but journalctl -M xxx
still can not get the logs for containers.
Currently, it is better to exec into container to check the logs for us.
I created a container image based on a Dockerfile like the following:
Then execute the following commands
But I can not get the container's journal information on the host, using journalctl.
Any ideas are welcome.
my docker version is: