Good day
I want to install Memcached instance in the image I'm working on.
Here is the current code:
FROM alpine
USER root
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/* \
&& apk --no-cache add memcached busybox-extras && echo "done"\
&& /usr/bin/memcached -v -d \
--user=root \
--port=11211 \
--listen=0.0.0.0 \
&& telnet 0.0.0.0 11211
WORKDIR /root/
COPY --from=builder /go/api/version/version .
CMD ["./version"]
And here's the response I get :
telnet: can't connect to remote host (0.0.0.0): Connection refused
What is my mistake? Thank you in advance