tomsquest / docker-radicale

Docker image for Radicale calendar and contact server :calendar: + security :closed_lock_with_key: + addons :rocket:
GNU General Public License v3.0
562 stars 80 forks source link

docker run errors out after --init #79

Closed Greylinux closed 4 years ago

Greylinux commented 4 years ago

Hi

I am having issues running your docker run command it errors out after --init

here is the output below

`

tim@openmediavault:~$ docker run -d --name radicale \
>     -p 127.0.0.1:5232:5232 \
>     --read-only \
>     --init \    
docker: invalid reference format.
See 'docker run --help'.
tim@openmediavault:~$     --security-opt="no-new-privileges:true" \
>     --cap-drop ALL \
>     --cap-add CHOWN \
>     --cap-add SETUID \
>     --cap-add SETGID \
>     --cap-add KILL \
>     --pids-limit 50 \
>     --memory 256M \
>     --health-cmd="curl --fail http://localhost:5232 || exit 1" \
>     --health-interval=30s \
>     --health-retries=3 \
>     -v ~/radicale/data:/data \
>     -v ~/radicale/config:/config:ro \
>     tomsquest/docker-radicale
--security-opt=no-new-privileges:true: command not found

` I'm not sure what is causing the invalid reference , I apologise now if this is due to my ignorance

thanks in advance

Greylinux commented 4 years ago

after doing some research I found that it is because I don't have a newer version of docker compose installed and therefore --init wasn't integrated.

tomsquest commented 4 years ago

Glad this worked !