Cannot get Nginx image working inside Docker container

I cannot figure out what is the problem with the official nginx image for docker. I use it in docker-compose.yml file as indicated on the official image page: web: image: nginx volumes: – ./custom-nginx.conf:/etc/nginx/conf.d/custom-nginx.conf ports: – “80:80” environment: – NGINX_HOST=mysite.com – NGINX_PORT=80 command: /bin/sh -c “envsubst < /etc/nginx/conf.d/custom-nginx.conf > /etc/nginx/conf.d/default.conf && exec nginx -g ‘daemon…

Bind mount systemd-nspawn

I’m playing with systemd-nspawn and I’m trying to enable a container at boot with a bind-mount. I’ve pacstraped and initialized the system and can start it on the command line as follows: $ sudo /usr/bin/systemd-nspawn –quiet –boot –link-journal=try-guest –network-veth -U –settings=override –machine=jekyll –bind-ro /home/xyz/Documents/jekyll:/home/jekyll/site –private-users=off and my bind-mount shows up no problem. When I however…