Skip to content

Conversation

@larsgerber
Copy link
Contributor

Addition to #176.

The Redis image (https://github.com/redis/docker-library-redis/blob/f00ff0562e52e24f0cde26988628ad7de51fd8d8/7.2/Dockerfile#L113) uses the VOLUME instruction, which creates an anonymous volume when the container is started.

Since we cannot change the base image, our only option is to mount the path via tmpfs. This way no volume is created. (confirmed with docker volume ls)

@cupcakearmy
Copy link
Owner

Super interesting, thanks for digging into it!
Tecnically however this should not matter, as it's not being used anyways at this point.

@larsgerber
Copy link
Contributor Author

larsgerber commented Mar 2, 2025

Technically, both the tmpfs mount and the Redis parameters achieve the same goal: no persistence. This change is mainly to prevent confusion, as I initially questioned why a volume was created when the project is supposed to be non-persistent.

I just wanted to share my findings. Feel free to close the PR if it's not needed.

Thank you for your efforts! I really like this project, especially when used with your Raycast extension.

@cupcakearmy cupcakearmy merged commit 4cc9d8a into cupcakearmy:main Mar 2, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants