No /dev/log present in Ubuntu 18.04 image

I am using the docker image ubuntu:18.04 in my bitbucket pipeline to run my unit tests written in python language . But while running the tests there is a logging error since the code is unable to connect to a socket
I would like to know how to have rsylog and /dev/log in the ubuntu docker image ?