You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't reproduce -- my best guess is that you need to update libseccomp2 and/or Docker and runc on your host. 🙈
$ docker run -it --rm --pull=always php:8.1-cli-alpine sh8.1-cli-alpine: Pulling from library/phpDigest: sha256:daa8116f07820115b0b2fcd38aeb10d25cd7a1667cc1c279e2045fa4059e38d3Status: Image is up to date for php:8.1-cli-alpine/ # mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"/ #
My libseccomp2 is updated and I can't install runc because it removes my docker package.
I did the same command as you did.
% docker run -it --rm --pull=always php:8.1-cli-alpine sh
8.1-cli-alpine: Pulling from library/php
Digest: sha256:daa8116f07820115b0b2fcd38aeb10d25cd7a1667cc1c279e2045fa4059e38d3
Status: Image is up to date for php:8.1-cli-alpine
/ # mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
mv: can't rename '/usr/local/etc/php/php.ini-production': Invalid argument
I can't rename the file php.ini-development to php.ini on a fresh container.
All of our images have the following command in their Dockerfiles and fail upon build.
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
My system info:
I am using docker-ce from the official website
The text was updated successfully, but these errors were encountered: