Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memcached entrypoint in docker-compose.yml #317

Open
akostadinov opened this issue Aug 28, 2024 · 0 comments
Open

memcached entrypoint in docker-compose.yml #317

akostadinov opened this issue Aug 28, 2024 · 0 comments

Comments

@akostadinov
Copy link

Hello, the memcached image doesn't start with this entrypoint for me. It fails with

executable file `memcached -m 256` not found in $PATH: No such file or directory

Inspecting the image shows

$ podman inspect docker.io/library/memcached:1.6.18
...
               "Entrypoint": [
                    "docker-entrypoint.sh"
               ],
               "Cmd": [
                    "memcached"
               ]
...

When I set memcached -m 256 as command (not entrypoint), then things properly work. And it seems more correct to run the container with the original entrypoint as it may involve a custom init or who knows what.

While I'm using podman, there might be some difference (although I doubt it). I can't test it with stock docker-compose.

https://github.com/haiwen/seafile-admin-docs/blame/3d7db2f981021b7446a0384915797161e3de824e/manual/docker/docker-compose/ce/11.0/docker-compose.yml#L17

akostadinov added a commit to akostadinov/seafile-admin-docs that referenced this issue Aug 28, 2024
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

No branches or pull requests

1 participant