FAQ
My Dockerfile looks like this:

FROM golang:onbuild
RUN go get [...]
RUN apt-get update && apt-get install -y redis-server
CMD redis-server
CMD go run main.go

My program needs Redis server listening on the default port 6379 and I get
connection refused.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 18 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedApr 17, '15 at 8:18a
activeApr 17, '15 at 10:40p
posts18
users7
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase