Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

laradock fresh install and docker-compose up error on : unknown flag: --iidfile #2955

Closed
qingtiandalaoye opened this issue Apr 21, 2021 · 3 comments

Comments

@qingtiandalaoye
Copy link

Description:

when fresh install laradock, run this command to start by default setting.
sudo docker-compose --verbose up -d nginx phpmyadmin redis workspace

stoped by error:

compose.service.build: Building redis
unknown flag: --iidfile
See 'docker build --help'.
ERROR: compose.cli.main.exit_with_metrics: Service 'redis' failed to build : Build failed

Expected Behavior:

Context information:

Output of git rev-parse HEAD

3778c90932b5d95c88ad25f9713ec053a1dd1209

Output of docker version

Docker version 1.13.1, build 0be3e21/1.13.1

Output of docker-compose version

docker-compose version 1.29.1, build unknown

System info: Mac, Windows or Linux. Include which disto/version

linux centos7&64

Steps to reproduce the issue:

  1. sudo docker-compose --verbose up -d nginx phpmyadmin redis workspace

Stacktrace & Additional info:


compose.cli.verbose_proxy.proxy_callable: docker inspect_image <- ('laradock_redis')
compose.service.build: Building redis
unknown flag: --iidfile
See 'docker build --help'.
ERROR: compose.cli.main.exit_with_metrics: Service 'redis' failed to build : Build failed
@codex-corp
Copy link
Contributor

@qingtiandalaoye

Try to build from source directly

RUN docker-php-source extract \
    && curl -L -o /tmp/redis.tar.gz https://github.com/phpredis/phpredis/archive/refs/tags/5.3.4.tar.gz \
    && tar xfz /tmp/redis.tar.gz \
    && rm -r /tmp/redis.tar.gz \
    && mv phpredis-5.3.4 /usr/src/php/ext/redis \
    && docker-php-ext-install redis

@stale
Copy link

stale bot commented Jul 28, 2021

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label Jul 28, 2021
@stale
Copy link

stale bot commented Aug 20, 2021

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants