$ sudo docker run -it --rm \
--name=journalbeat \
--user=root \
--volume="/var/log/journal:/var/log/journal" \
--volume="/etc/machine-id:/etc/machine-id" \
--volume="/run/systemd:/run/systemd" \
--volume="/etc/hostname:/etc/hostname:ro" \
--volume="/bin/journalctl:/bin/journalctl" \
ubuntu bash
root@70d1135bf995:/# journalctl -fl
journalctl: error while loading shared libraries:
libsystemd-shared-237.so: cannot open shared object file: No such file or directory