revenz / Fenrus

A personal home page for quick access to all your personal apps/sites.
MIT License
518 stars 31 forks source link

Docker command fails #141

Closed xWires closed 1 year ago

xWires commented 1 year ago

The command to install using docker gives an error

unknown shorthand flag: 'n' in -name=Fenrus-p See 'docker run --help'. -bash: --restart: command not found

diablo668 commented 1 year ago

The docker run example cmdlet in the README.md is missing a few bits, it should be: docker run -d \ --name=Fenrus \ -p 3000:3000 \ -v /path/to/data:/app/data \ -v /path/to/images:/app/wwwroot/images \ --restart unless-stopped \ revenz/fenrus:latest

--name=Fenrus \ instead of -name=Fenrus\ and -v /path/to/images:/app/wwwroot/images \ instead of -v /path/to/images:/app/wwwroot/images

xWires commented 1 year ago

The docker run example cmdlet in the README.md is missing a few bits, it should be: docker run -d --name=Fenrus -p 3000:3000 -v /path/to/data:/app/data -v /path/to/images:/app/wwwroot/images --restart unless-stopped revenz/fenrus:latest

--name=Fenrus \ instead of -name=Fenrus\ and -v /path/to/images:/app/wwwroot/images \ instead of -v /path/to/images:/app/wwwroot/images

Ah, thank you. I am quite new to docker