Yes it seems you are right, but if I use RUN instead of CMD to start the Redis server it still doesn't work and it will also output the server in the shell which is something I don't want. I want it to be in the background for my app to use it.
--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/WXHWRexuLLA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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...@googlegroups.com.
It's a small program that outputs some text in the terminal.
I don't think I understand what you mean. My Go app tries to connect to 127.0.0.1:6379 and my Redis container is exporting its 6379 port to 6379 port from host.