https://hub.docker.com/r/emby/embyserver

Access via "http://ip:8096"

I didn't configure shares as I access via Network vs Mounts

WD=/opt/emby
mkdir -p $WD/{setup,conf}
cd $WD/setup
cat << 'EOF' >docker-compose.yaml
version: '3.7'

services:
 emby:
    container_name: emby
    image: emby/embyserver
    hostname: emby
    ports:
      - '8096:8096'
    volumes:
      - type: bind
        source: /opt/emby/conf/
        target: /etc/emby

    environment:
      - 'TZ=${TZ}'

    devices:
      - '/dev/dri:/dev/dri'    

EOF
chmod +x docker-compose.yaml
cd $WD/setup
cat << 'EOF'>.env
TZ=America/Whitehorse
EOF
chmod +x .env
WD=/opt/emby/setup
cat << EOF >$WD/emby.service.setup.sh
cat << EOL >/lib/systemd/system/emby.service
[Unit]
Description=emby_Docker
Requires=docker.service network-online.target

[Service]

Restart=on-abnormal
ExecStart=/usr/bin/docker-compose --project-name emby --project-directory $WD -f $WD/docker-compose.yaml up
ExecStop=/usr/bin/docker-compose --project-name emby --project-directory $WD -f $WD/docker-compose.yaml stop

[Install]
WantedBy=multi-user.target
EOL
systemctl enable emby
systemctl restart emby
systemctl status emby
EOF
chmod +x $WD/emby.service.setup.sh
$WD/emby.service.setup.sh
echo 'alias embycli="docker exec -it emby /bin/bash"' >> ~/.bashrc
source ~/.bashrc