memcached是一套分布式的高速缓存系统。
docker镜像 :https://hub.docker.com/_/memcached
安装:
docker run --name my-memcache -d memcached memcached -m 64
能够发挥多核的优势,不支持持久化。
运行成功后,查看端口是 11211
安装可视化工具
docker run -it -p 8080:8080 -e MEMADMIN_USERNAME='memUser' -e MEMADMIN_PASSWORD='memPassword' -e MEMCACHED_HOST='memcached.hostname.or.ip' -e MEMCACHED_PORT='memcached.port' vesica/memadmin:latest
示例:
docker run -it -p 8080:8080 -e MEMADMIN_USERNAME='memUser' -e MEMADMIN_PASSWORD='memPassword' -e MEMCACHED_HOST='192.168.233.90' -e MEMCACHED_PORT='11211' vesica/memadmin:latest
报错
Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message
[Mon Sep 02 14:12:31.796809 2019] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.25 (Debian) OpenSSL/1.0.2l configured -- resuming normal operations
[Mon Sep 02 14:12:31.796895 2019] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
[Mon Sep 02 14:12:31.809995 2019] [mpm_prefork:notice] [pid 1] AH00170: caught SIGWINCH, shutting down gracefully
相关资料
镜像地址: https://hub.docker.com/r/vesica/memadmin
使用c# 链接
(待续)