Using Certbot container on Synlogy NAS

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: intranet.domain.com

I ran this command:
sudo docker run --rm
-v /docker/nginx/certs:/etc/letsencrypt
-v /docker/nginx/lib:/var/lib/letsencrypt
-v /docker/nginx/html:/usr/share/nginx/html
-v /docker/nginx/certbot-logs:/var/log/letsencrypt
certbot/certbot certonly --webroot -w /volume1/docker/nginx/html
-d intranet.piereslikkers.nl
--email email@email.nl --agree-tos --no-eff-email
--log /var/log/letsencrypt/certbot.log
It produced this output:
docker: Error response from daemon: Bind mount failed: '/docker/nginx/certbot-logs' does not exists.

My web server is (include version):
nginx docker the latested
The operating system my web server runs on is (include version):
Synlogic dsm 7.2.2-72806 update 2 whit container manager installed
My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):
yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): I am using the latested certbot docker

I am no docker expert but doesn't that mean your host does not have the directory?

3 Likes