Skip to content

Instantly share code, notes, and snippets.

@bmorton
Created March 16, 2016 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmorton/98f434141ab7bc58d7d3 to your computer and use it in GitHub Desktop.
Save bmorton/98f434141ab7bc58d7d3 to your computer and use it in GitHub Desktop.
haushinka:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6bbba69ec77f redis "/entrypoint.sh redis" 2 hours ago Up 2 hours 0.0.0.0:6379->6379/tcp redis
haushinka:~$ (echo -en "MONITOR\r\n"; sleep 10) | nc `docker-machine ip default` 6379
+OK
^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment