I have been trying to build an image in docker for an university project for several weeks now but I get a pop-up window from docker-desktop where this error is displayed and the build is stopped. Then it doesn’t let me continue and I have to restart the computer, restarting again from the beginning.
The command I use is $ docker build --build-arg git_user=my_user --build-arg git_token=my_token -t eye_control .
Where my_user and my_token are a github user and a github token.
I have never worked with docker and I really don’t know what could be the error causing this, so I would appreciate any help.
Thanks for your input. In principle, it fails me when I try to install OpenSim, I don’t know exactly where because the terminal gets stuck when the installation takes a while.
About the memory, I have 16 Gb of RAM and almost 1 Tb of hard disk available, so I guess I shouldn’t have problems there, although I don’t know if there is any way to check exactly if it crashes because of that.
Then, when you tell me to try to install the app in the WSL, it is not installing the docker image but the OpenSim application from Ubuntu?
If that is the RAM of the host, WSL2 has only 8GB. If you run other processes as well and the build requires lots of memory in addition to what Docker components are already using, it might not be enough.
But that is why I recommend installing the app without Docker, but in WSL2, so you have the same kernel, same memory limit, except you are not in a container. If it fails, it is either a RAM issue and you can try to increase that as described on StackOverlow (which lpoints to the official documentation from Microsoft) or it is something related to WSLs kernel, in which case you would need to ask the question on a Microsoft forum. If there is no problem without Docker in WSL2, it is likely a Docker desktop or Docker CE issue and we can continue trying to investigate.
Yes, but the same way as you tried with Docker, using the same commands..