Daily Archives: 25.08.2017
Запустить memcached в докере
Под мак.
1 2 3 4 5 6 |
docker pull memcached:alpine docker run --name memcached -d --restart=always --publish 11211:11211 memcached:alpine telnet localhost 11211 ctrl+] docker ps docker stop <id> |
https://hub.docker.com/_/memcached/ https://github.com/sameersbn/docker-memcached Вдогонку — как смотреть статистику в мемкэше.
1 2 3 4 5 6 |
telnet localhost 11211 > stats > stats items > set key 0 900 4 data > get key |
https://blog.elijaa.org/2010/05/21/memcached-telnet-command-summary/ http://www.alphadevx.com/a/90-Accessing-Memcached-from-the-command-line