exadel-inc / CompreFace

Leading free and open-source face recognition system
https://exadel.com/accelerator-showcase/compreface/
Apache License 2.0
5.71k stars 775 forks source link

Cannot start the container due to python library #1064

Closed lordratner closed 1 year ago

lordratner commented 1 year ago

Describe the bug

When running docker compose up -d it fails with this error:

failed to register layer: ApplyLayer exit status 1 stdout: stderr: unlinkat /usr/local/lib/python3.7/site-packages/numpy-1.19.5.dist-info: invalid argument

It fails during the extraction of this image: f7b64384d90e

I'm running it in a Proxmox LXC. The LXC has python 3.9, not 3.7, but I didn't see that anywhere in the instructions as an issue, and I was under the impression it didn't matter for Docker.

To Reproduce

Steps to reproduce the behavior:

  1. Follow installation instructions.

Desktop (please complete the following information):

Logs

Run those commands and attach result to the ticket:

Doesn't start, so no logs

Additional context

This started after updating Proxmox, which I assume updated something (python?) in the LXC containers. But I still don't see where in the instructions I need python 3.7 to install in Docker, and I'm not experienced enough to know the difference here.

Thanks!

lordratner commented 1 year ago

For clarity, this was working before the Proxmox Update. When the server restarted the container started too, but docker compose did not automatically start the containers. Calling docker compose up -d started a pull, where this problem occurred.

pospielov commented 1 year ago

I googled it, and it looks like this is a docker problem. Just a couple of links with discussion, I hope they will help: https://forum.proxmox.com/threads/docker-failed-to-register-layer-applylayer-exit-status-1-stdout-stderr-unlinkat-var-log-apt-invalid-argument.119954/ https://github.com/moby/moby/issues/43576 https://forum.proxmox.com/threads/proxmox-lxc-docker-pull-issues.29781/