Pecl doesn't work in php:7.0-fpm image

I have pretty simple dockerfile

FROM php:7.0-fpm
RUN apt-get clean \
    && apt-get update && pecl install memeched

But unfortunately I am getting error:

  • docker container port mapping issue
  • Docker. npm install -> Error: getaddrinfo ENOTFOUND
  • Kubernetes service in java does not resolve restarted service/replicationcontroller
  • remove dlite from Mac
  • How to handle PHP project code in docker container
  • Local development with docker - do I need 2 Dockerfiles?
  • pecl/memcached requires PHP (version >= 5.2.0, version <= 6.0.0, excluded versions: 6.0.0), installed version is 7.0.12  
    

    Why is that?

  • Telegraf unable to connect to InfluxDB
  • Why use docker? Aren't java files like WAR files already running on JVM?
  • 404 page on Docker when installing
  • Docker-compose container ports not working
  • “The directory name /app/Views/ is invalid” on ASP.NET Core deployment using docker
  • Mounting AWS EBS volume when launching VM with Docker Machine
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.