Skip to content

Missing Shared Memory directive in docker-compose file. #627

@ctschach

Description

@ctschach

This is for bugs only

I constantly got the error message, that there is not enough shared memory when launching a job. It turned out that I need to increase the amount of available shared memory for docker in the docker compose file.

So if you ever run into the issue, add a "shm_size" to your compose file

services:
  ai-toolkit:
    image: ostris/aitoolkit:latest
    restart: unless-stopped
    shm_size: 16gb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions