
The Day Docker Refused to Start My Website (And Why It Was My Fault)
A few weeks ago, everything was running perfectly. My tutorial site was fully automated. Every morning: Content generated Astro built the static files Docker restarted NGINX The new version went live It felt clean. Controlled. Professional. Then one restart killed the entire site. No warning. No partial failure. Just… dead. The Error Docker wouldn’t start the NGINX container. The only message: Bind mount failed: '/volume1/docker/tutorialshub/dist' does not exist That was it. No stack trace. No helpful explanation. Just refusal. And the site was offline. My First Thought: “Docker is Broken.” I checked: docker-compose.yml NGINX config Port mappings Permissions Everything looked correct. The volume mapping was simple: ./dist:/usr/share/nginx/html This had been working for weeks. So what changed? The Missing Folder I SSH’d into my Synology NAS and navigated to: /volume1/docker/tutorialshub/ There was no dist folder. And suddenly everything made sense. Astro generates /dist during build. No
Continue reading on Dev.to Webdev
Opens in a new tab

