Home » Php » linux – Docker – Package php-imagick is not available

linux – Docker – Package php-imagick is not available

Posted by: admin February 25, 2020 Leave a comment

Questions:

I have typed:

apt-get install php-imagick

but docker prints me an error:

Package php-imagick is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

I tried to use sudo but there are another error: sudo not found and after installing sudo docker prints first error again. What should I do?

How to&Answers: