Kann keine Verbindung zum redis-Ausführung als container mit boot2docker

Auf meinem MBP, mit den neuesten boot2docker installiert, ich habe Folgendes Dockerfile:

FROM redis:3.0.3
CMD redis-server --bind 0.0.0.0

Ich Folgendes ausführen:

docker build .
docker run --rm ba09b207db42 # where ba09b207db42 is the container id returned by the build command

Dann habe ich ausgeführt:

redis-cli -h `boot2docker ip`

Und ich bekomme die Fehlermeldung:

Konnte keine Verbindung zu Redis bei 192.168.59.103:6379: Connection refused

Was bin ich?

InformationsquelleAutor jtblin | 2015-08-08
Schreibe einen Kommentar