https://hub.docker.com/_/memcached?tab=tags&page=1
docker pull memcached:latest

  • docker-compose.yml
    version: '3.8'
    services:
    memcached:
      image: memcached:latest
      restart: always
      #network_mode: host
      container_name: memcached_1022
      volumes:  
        - ./data:/data 
      ports:
        - "11211:11211"