Nextcloud and Collabra on Ubuntu (access denied)

Credit here to Speedysurf HERE:

first get the current ExecStart form your docker.service file:

    grep ExecStart /lib/systemd/system/docker.service
    the result is something like this:
    ExecStart=/usr/bin/dockerd -H fd://

now use this result to create a systemd docker drop-in configuration file. Create the service directory first therefore as well:

    mkdir /etc/systemd/system/docker.service.d
    editor /etc/systemd/system/docker.service.d/execWithDeviceMapper.conf

The file now must contain the following lines:

    ExecStart=/usr/bin/dockerd --storage-driver=devicemapper -H fd://

remove your old container (shamelessly stolen from @Andreas_Fuchs's post below :wink: )

    docker ps (to get the id)
    docker stop [id]
    docker rm [id]

restart systemd, docker and your container

    systemctl daemon-reload
    systemctl restart docker.service
    docker run -t -d -p -e 'domain=CLOUD.DOMAIN.TLD' --restart always --cap-add MKNOD collabora/code

Leave a Reply