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:

  • How do I use a volume created by the docker volume command?
  • Creating and running docker containers cluster with Kubernetes on AWS
  • Docker flask uwsgi 404 on a remote host
  • docker not unzipping my files
  • Redis Mass Insertion - Errors out
  • Multithreading during image build
  • 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?

  • Confused about docker pricing policy [closed]
  • How to avoid typing the container id when using docker commit?
  • Dockerized Angular 4 and Django is compiled successfully but localhost:4200 is not working
  • Cannot install Docker on Debian Jessie
  • How to run docker container in app-engine without compute engine
  • Why does building from a docker file take up all the disk space?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.