Unable to start docker container with phoenix app using sqlite

Okay, in my case the issue were invalid file / folder permissions. My docker instance was using root user by default. Phoenix uses the nobody user by default. So, when I created a docker volume via my compose file, the folder was created as root and my elixir app couldn’t write to it, due to permission issues.

Just in case someone else stumbles upon this post.

1 Like