Skip to content

memcached entrypoint in docker-compose.yml #317

Description

@akostadinov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions