Hello everyone. In recent installations I always ...
# docker
a
Hello everyone. In recent installations I always get a composer error while booting the docker sdk. The messag is:
Copy code
ERROR [spryker_app_dependencies 5/5] RUN --mount=type=cache,target=/home/spryker/.composer/cache,from=composer_cache,source=/cache     composer install --no-interaction --optimize-autoloader --no-dev   0.
I'm using Centos as an operation system. Thx
h
Hello Robert, What version of dockers? Do you have experimental docker features enabled?
a
Docker Version: 19.03.5
Default installation
Please make sure everything setup as described. Thanks
a
Got it already. Same error 😞
The docker/sdk worked in previous setup but with the recent checkout not anymore.
h
Ah. So you had it worked. At that point I assume docker layers would be corrupted. If you are willing, you can try to prune docker. Or even delete its data. Do you need guide for such?
a
Also done. All volumes and images are pruned
h
Sometimes it happens. In some cases even rebooting helps.
docker system prune
Images and volumes are not layers. Docker still has layers after images are pruned.
Untitled
This temp change would make error more informative.
a
First I want to reinstall docker
Then I'll try your suggestions
h
I suggest
sudo rm -rf /var/lib/docker
after docker shutdown.
a
Wow now it works
👍 1
Reinstalling docker
Or maybe the system prune
Thanks for the hint
h
Sometimes happens. ) Glad to help.