With the following docker-comose code you can run Home Assistant in Docker with Docker-Compose:
homeassistant:
container_name: HomeAssistant
image: homeassistant/home-assistant:latest
restart: always
volumes:
- /home/docker/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
environment:
- TZ=Europe/Amsterdam