revenz / Fenrus

A personal home page for quick access to all your personal apps/sites.

Home Page:http://fenrus.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker command fails

xWires opened this issue · comments

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

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

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