赞
踩
docker search memcached
docker pull memcached
docker create --name memcache1 memcached
或者映射一下端口
docker create -p 11211:11211 --name memcache1 memcached
docker start memcache1
docker network connect --ip 172.19.0.180 mynetwork memcache1
[root@xxx ~]# telnet 172.19.0.180 11211 Trying 172.19.0.180... Connected to 172.19.0.180. set foo 0 0 3 bar STORED get foo VALUE foo 0 3 bar END stats STAT pid 1 STAT uptime 331 STAT time 1690540841 STAT version 1.6.21 STAT libevent 2.1.12-stable STAT pointer_size 64 STAT rusage_user 0.036971 STAT rusage_system 0.022835 STAT max_connections 1024 STAT curr_connections 2 STAT total_connections 4 STAT rejected_connections 0 STAT connection_structures 3 STAT response_obj_oom 0 STAT response_obj_count 1 STAT response_obj_bytes 32768 STAT read_buf_count 4 STAT read_buf_bytes 65536 STAT read_buf_bytes_free 16384 STAT read_buf_oom 0 STAT reserved_fds 20 STAT cmd_get 1 STAT cmd_set 1 STAT cmd_flush 0 STAT cmd_touch 0 STAT cmd_meta 0 STAT get_hits 1 STAT get_misses 0 STAT get_expired 0 STAT get_flushed 0 STAT delete_misses 0 STAT delete_hits 0 STAT incr_misses 0 STAT incr_hits 0 STAT decr_misses 0 STAT decr_hits 0 STAT cas_misses 0 STAT cas_hits 0 STAT cas_badval 0 STAT touch_hits 0 STAT touch_misses 0 STAT store_too_large 0 STAT store_no_memory 0 STAT auth_cmds 0 STAT auth_errors 0 STAT bytes_read 147 STAT bytes_written 131 STAT limit_maxbytes 67108864 STAT accepting_conns 1 STAT listen_disabled_num 0 STAT time_in_listen_disabled_us 0 STAT threads 4 STAT conn_yields 0 STAT hash_power_level 16 STAT hash_bytes 524288 STAT hash_is_expanding 0 STAT slab_reassign_rescues 0 STAT slab_reassign_chunk_rescues 0 STAT slab_reassign_evictions_nomem 0 STAT slab_reassign_inline_reclaim 0 STAT slab_reassign_busy_items 0 STAT slab_reassign_busy_deletes 0 STAT slab_reassign_running 0 STAT slabs_moved 0 STAT lru_crawler_running 0 STAT lru_crawler_starts 3 STAT lru_maintainer_juggles 401 STAT malloc_fails 0 STAT log_worker_dropped 0 STAT log_worker_written 0 STAT log_watcher_skipped 0 STAT log_watcher_sent 0 STAT log_watchers 0 STAT unexpected_napi_ids 0 STAT round_robin_fallback 0 STAT bytes 65 STAT curr_items 1 STAT total_items 1 STAT slab_global_page_pool 0 STAT expired_unfetched 0 STAT evicted_unfetched 0 STAT evicted_active 0 STAT evictions 0 STAT reclaimed 0 STAT crawler_reclaimed 0 STAT crawler_items_checked 0 STAT lrutail_reflocked 0 STAT moves_to_cold 1 STAT moves_to_warm 0 STAT moves_within_lru 0 STAT direct_reclaims 0 STAT lru_bumps_dropped 0 END
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。