mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 08:45:54 +03:00
[GH-ISSUE #271] Docker up failure? "disk I/O error (5386)" mailpit exited with code 1 #179
Labels
No labels
awaiting feedback
bug
docker
documentation
enhancement
github_actions
invalid
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mailpit#179
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @epicwhale on GitHub (Mar 30, 2024).
Original GitHub issue: https://github.com/axllent/mailpit/issues/271
Following the docker compose example: https://mailpit.axllent.org/docs/install/docker/
When I up it:
Any pointers to resolving this?
@epicwhale commented on GitHub (Mar 30, 2024):
Enabling verbose, I get a:
But I can see it has created these successfully:

@axllent commented on GitHub (Mar 30, 2024):
Hi. Is your
./datadirectory by any chance a remote-mounted filesystem? What host OS are you using?@epicwhale commented on GitHub (Mar 30, 2024):
It's a local file system. Using podman on MacOS if that helps? @axllent
@axllent commented on GitHub (Mar 30, 2024):
Yes and no (unfortunately). This appears to be a docker (or in your case podman) issue unrelated to Mailpit from what I can tell (searching Google). There is something going wrong with the mount to your local filesystem (permissions, full file system, storage limits, ownership etc), but I can't tell what. My suggestion would be to Google the error "docker disk I/O error" and you will find plenty of issues and potential causes for you to look into and hopefully find the cause.
Sorry I can't help more. Mailpit's docker images have been downloaded close to 3.5 million times and this is the first report I've seen of this nature, so everything indicates that it is a local issue on your end.
@epicwhale commented on GitHub (Mar 30, 2024):
@axllent thanks for the tips, i'll dig into it further! for now disabling the
MP_DATA_FILEhelps during development. I have a feeling this has something to do with wal/shm enabled for the sqlite db, and how podman filesystem on mac virtual machines work. Is there a way to disable the wal/shm for the MP_DATA_FILE?@axllent commented on GitHub (Mar 30, 2024):
Not currently, no. This option was added a while back for performance reasons, and shouldn't cause issues, but you could be right if the filesystem is treated as a remote filesystem. I know it works on Mac with volumes though, so I assume it should work with local mounts as well.
@epicwhale commented on GitHub (Mar 30, 2024):
Switching to volumes did the job! thanks for the prompt help here, really appreciate it! :)
ps - great work with mailpit!
@axllent commented on GitHub (Mar 30, 2024):
Thank you. Given that the issues are (I'm almost 100% certain) related to your local filesystem mount, I'll close this issue. If you do come across the actual reason for this then please feel free to re-open it.