Installed it as a docker container following https://hub.docker.com/r/sonatype/nexus3/

I created the container with command like, supplying restart always parameter. Does anyone use docker compose file to build this?