# Error when running ScyllaDB with Docker in macOS

**URL:** <https://forum.scylladb.com/t/error-when-running-scylladb-with-docker-in-macos/4397>\
**Category:** ScyllaDB\
**Tags:** troubleshooting, macos, docker\
**Created:** [January 22, 2025, 4:22am UTC](https://forum.scylladb.com/t/error-when-running-scylladb-with-docker-in-macos/4397 "2025-01-22T04:22:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/guy/32/9_2.png) [@Guy](https://forum.scylladb.com/u/Guy)\
**Post date:** [January 22, 2025, 4:22am UTC](https://forum.scylladb.com/t/error-when-running-scylladb-with-docker-in-macos/4397/1 "2025-01-22T04:22:14Z")

</div>

> [@](#):
>
> [**Originally from the User Slack**](https://scylladb-users.slack.com/)
> 
> ![Pritam_Nagar](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/c/c423e3b75402ca7afdd40a4da04c054372d59eba.png) **@Pritam\_Nagar:** Dear @avi and team,  
> I am currently running **ScyllaDB** on my local macOS system within Docker. However, I encountered an error during startup:
> 
> ```auto
> FATAL: Exception during startup, aborting: std::runtime_error (Could not setup Async I/O: Resource temporarily unavailable. The most common cause is not enough request capacity in /proc/sys/fs/aio-max-nr. Try increasing that number or reducing the amount of logical CPUs available for your application)
> 
> ```
> 
> ![avi](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/1X/b5e08becda8d9df1abff1d3a2d9ffe1126ac3fc6.jpeg) **@avi:** Try increasing /proc/sys/fs/aio-max-nr or reducing the number of shards you run scylla with
> 
> ![Pritam_Nagar](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/c/c423e3b75402ca7afdd40a4da04c054372d59eba.png) **@Pritam\_Nagar:** syclla container or host machine ?
> 
> ![avi](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/1X/b5e08becda8d9df1abff1d3a2d9ffe1126ac3fc6.jpeg) **@avi:** The VM that runs the container
> 
> ![Pritam_Nagar](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/c/c423e3b75402ca7afdd40a4da04c054372d59eba.png) **@Pritam\_Nagar:** my docker setup is on mac i don’t think so it can be configured
> 
> ![Josh_Mengerink](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/a/aa345933a046f7250fcbeeb64cdefaf98af7719c.jpeg) **@Josh\_Mengerink:** I encountered this error in kubernetes context, reducing the number of cpus for the deployment (and by extension IO requirements) solved the issue for me. Perhaps that points you in a direction
> 
> ![Patrick_Bossman](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/5/5b12f893aa806799517728389756313bc92d59db.png) **@Patrick_Bossman:** add:  
> `--reactor-backend=epoll`
> 
> [https://forum.scylladb.com/t/running-3-node-scylladb-in-docker/1057/7](https://forum.scylladb.com/t/running-3-node-scylladb-in-docker/1057/7)  
> @Pritam\_Nagar ^^
> 
> ![Pritam_Nagar](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/c/c423e3b75402ca7afdd40a4da04c054372d59eba.png) **@Pritam\_Nagar:** Thanks @Patrick_Bossman
