Closed pnoor closed 1 year ago
Copying from email chain
Hi Noor,
I tried reproducing this issue on Windows and wasn't able to. Can you try again while changing the last line of the dockerfile to RUN bazel build --sandbox_debug ...
?
I suspect this is happening because your docker is configured to only allow the VM to have a certain amount of RAM (perhaps limited by the available RAM on your machine), but compiling the docker build requires more RAM. If you can confirm this is the problem, you may be able to get around it by creating a swap file.
Dear Team,
I'm confirming that bcoz of less space in my machine I'm not able to build the project. It required more ram for compilation as you said. My Laptop confgiuration: RAM 16GB Intel core i5 SSD 500Gb
Could you please let me know the configuration of the Windows machine?
Thanks and Regards P Noor Mohammadi
On Thu, Apr 6, 2023 at 9:27 PM Jeremy Kun @.***> wrote:
Copying from email chain
Hi Noor,
I tried reproducing this issue on Windows and wasn't able to. Can you try again while changing the last line https://github.com/google/fully-homomorphic-encryption/blob/main/docker/debian-bullseye.Dockerfile#L54 of the dockerfile to RUN bazel build --sandbox_debug ... ?
I suspect this is happening because your docker is configured to only allow the VM to have a certain amount of RAM (perhaps limited by the available RAM on your machine), but compiling the docker build requires more RAM. If you can confirm this is the problem, you may be able to get around it by creating a swap file.
— Reply to this email directly, view it on GitHub https://github.com/google/fully-homomorphic-encryption/issues/40#issuecomment-1499290144, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFLA4Y4LA737YQIKXKBLGT3W73RXBANCNFSM6AAAAAAWQGF2VI . You are receiving this because you authored the thread.Message ID: @.***>
Dear Team,
When I'm building a Docker image I'm getting the below-mentioned error. Could you please help me?
C:\Users\21335\fully-homomorphic-encryption>docker build -t google-fhe-transpiler -f docker/debian-bullseye.Dockerfile . error during connect: This error may indicate that the docker daemon is not running.: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=docker%2Fdebian-bullseye.Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=google-fhe-transpiler&target=&ulimits=null&version=1": open //./pipe/docker_engine: The system cannot find the file specified.
C:\Users\21335\fully-homomorphic-encryption>docker build -t google-fhe-transpiler -f docker/debian-bullseye.Dockerfile . [+] Building 2274.5s (11/11) FINISHED => [internal] load build definition from debian-bullseye.Dockerfile 0.1s => => transferring dockerfile: 48B 0.0s => [internal] load .dockerignore 0.1s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/debian:bullseye-20220527 3.0s => [1/7] FROM docker.io/library/debian:bullseye-20220527@sha256:3f1d6c17773a45c97bd8f158d665c9709d7b29ed7917ac93 0.0s => [internal] load build context 0.2s => => transferring context: 22.56kB 0.2s => CACHED [2/7] RUN apt-get update && apt-get install -y gcc git libtinfo5 python python3 python3-pi 0.0s => CACHED [3/7] RUN wget -O bazel "https://github.com/bazelbuild/bazel/releases/download/5.3.2/bazel-5.3.2-linux 0.0s => CACHED [4/7] WORKDIR /usr/src/fhe/ 0.0s => CACHED [5/7] COPY . . 0.0s => CACHED [6/7] RUN bazel build @llvm_toolchain//:all 0.0s => ERROR [7/7] RUN bazel build ... 2270.9s