---
title: "Niall (@classicniall) | Hashnode"
description: "Web Developer. Read the latest articles by Niall on Hashnode."
url: "https://hashnode.com/@classicniall"
---

@classicniall

# Niall

@classicniall · Joined July 2022

Web Developer

## Comments

[Simen Daehlin I switched it to MySQL (copying the guide), but I'm thinking that "platform" may be an issue (it's the only thing I can think of since it says "linux"). Could it be because I didn't run the initial strapi setup? I'd just assume that since all the files were created and committed, nothing else was needed. The only thing I had to re-create was the .env file. So, an update. Docker Compose doesn't work. I've just booted up the Ubuntu machine, ran docker-compose up -d and I'm getting "server wasn't able to start properly" message, "error: knex: run". This is a different error than on Windows, and I know Docker Desktop works, as I've been able to quickly spin up a WordPress site. Funnily enough, the quickstart worked fine.](https://hashnode.com/posts/docker-with-strapi-v4/61dcb820cda0d0294b69c3cd/comment/62c6e5ee39e2d97f4eaacc28#reply-62c6ea64353b847f29e88fae)

Reply · Article · Jul 7, 2022 · [🐳 Docker with Strapi V4 🌟](https://hashnode.com/posts/docker-with-strapi-v4/61dcb820cda0d0294b69c3cd)

[Hi, thanks for the tutorial, it has helped me understand quite a bit. I have tried this on an Ubuntu machine using Yarn, and it works straight away without issue. I then commited those changes to a repo and then clone it on to a Windows machine with NPM and Docker Desktop. Everything seems to build just fine, I can see the images and the container with both "web" and DB. However, the web image is stuck in a restart loop due to some error of connecting to the DB (like it's the wrong credentials/permissions). Any idea?](https://hashnode.com/posts/docker-with-strapi-v4/61dcb820cda0d0294b69c3cd/comment/62c6e5ee39e2d97f4eaacc28)

Comment · Article · Jul 7, 2022 · [🐳 Docker with Strapi V4 🌟](https://hashnode.com/posts/docker-with-strapi-v4/61dcb820cda0d0294b69c3cd)
