Rath
Rath copied to clipboard
Docker -- error Command "build2" not found. Did you mean "build"?
Hello,
I encountered a problem with using the Docker version of Rath. Below is the log with the error.
[root@localhost Rath]# sudo systemctl enable docker
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /usr/lib/systemd/system/docker.service.
[root@localhost Rath]# sudo usermod -aG docker $(whoami)
[root@localhost Rath]# docker
/usr/local/bin/docker: line 4: exec: podman: not found
[root@localhost Rath]# docker-compose build
[+] Building 1.4s (4/4) FINISHED
=> [internal] load build definition from client.dockerfile 0.1s
=> => transferring dockerfile: 507B 0.0s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> CANCELED [internal] load metadata for docker.io/library/nginx:latest 1.3s
=> CANCELED [internal] load metadata for docker.io/library/node:16 1.3s
canceled
[root@localhost Rath]# docker-compose build
[+] Building 883.5s (13/14)
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from client.dockerfile 0.0s
=> => transferring dockerfile: 507B 0.0s
=> [internal] load metadata for docker.io/library/nginx:latest 38.0s
=> [internal] load metadata for docker.io/library/node:16 38.0s
=> [internal] load build context 3.1s
=> => transferring context: 106.82MB 3.0s
=> [stage-1 1/2] FROM docker.io/library/nginx:latest@sha256:104c7c5c54f 11.3s
=> => resolve docker.io/library/nginx:latest@sha256:104c7c5c54f2685f0f46 0.1s
=> => sha256:48a84a0728cab8ac558f48796f901f6d31d287101bc 1.78kB / 1.78kB 0.0s
=> => sha256:104c7c5c54f2685f0f46f3be607ce60da7085da3eaa 1.86kB / 1.86kB 0.0s
=> => sha256:eea7b3dcba7ee47c0d16a60cc85d2b977d166be3960 8.15kB / 8.15kB 0.0s
=> => sha256:52d2b7f179e32b4cbd579ee3c4958027988f9a827 29.12MB / 29.12MB 2.9s
=> => sha256:fd9f026c631046113bd492f69761c3ba6042c791c 41.34MB / 41.34MB 3.7s
=> => sha256:055fa98b43638b67d10c58d41094d99c8696cc34b7a960c 628B / 628B 2.9s
=> => sha256:96576293dd2954ff84251aa0455687c8643358ba1b190ea 958B / 958B 3.3s
=> => sha256:a7c4092be9044bd4eef78f27c95785ef3a9f345d01fd451 371B / 371B 3.2s
=> => extracting sha256:52d2b7f179e32b4cbd579ee3c4958027988f9a8274850ab0 4.9s
=> => sha256:da761d9a302b21dc50767b67d46f737f5072fb4490c 1.41kB / 1.41kB 3.6s
=> => sha256:e3b6889c89547ec9ba653ab44ed32a99370940d51df 1.21kB / 1.21kB 3.7s
=> => extracting sha256:fd9f026c631046113bd492f69761c3ba6042c791c35a60e7 2.4s
=> => extracting sha256:055fa98b43638b67d10c58d41094d99c8696cc34b7a960c7 0.0s
=> => extracting sha256:96576293dd2954ff84251aa0455687c8643358ba1b190ea1 0.0s
=> => extracting sha256:a7c4092be9044bd4eef78f27c95785ef3a9f345d01fd4512 0.0s
=> => extracting sha256:e3b6889c89547ec9ba653ab44ed32a99370940d51df95696 0.0s
=> => extracting sha256:da761d9a302b21dc50767b67d46f737f5072fb4490c525b4 0.0s
=> [build-stage 1/7] FROM docker.io/library/node:16@sha256:818b5adc1ee4 68.9s
=> => resolve docker.io/library/node:16@sha256:818b5adc1ee4a04e8ad5efeb7 0.1s
=> => sha256:818b5adc1ee4a04e8ad5efeb70871571efe414315ad7f16 776B / 776B 0.0s
=> => sha256:754f1419240757b029810b5886e7a73439d0f2fac6d 2.00kB / 2.00kB 0.0s
=> => sha256:ebdc80ddefea69fbfcb8c35654cfbda724860e6c7f7 7.23kB / 7.23kB 0.0s
=> => sha256:d6b7393fb4f375905c31c483d81ce2a2905f88ab 50.50MB / 50.50MB 18.9s
=> => sha256:a048fb9bf954361501d8453cecac1ffff71e6f3e 51.87MB / 51.87MB 16.6s
=> => sha256:df43ba252b5f813936a37cbf85494d91f16f4507 17.58MB / 17.58MB 15.1s
=> => sha256:002a034b76fdcfb3a5899b0813f51c6ef8f1ce 191.90MB / 191.90MB 30.1s
=> => sha256:a9c19616351ea348fa65e68c7703de82b3cb742abc 4.20kB / 4.20kB 24.6s
=> => extracting sha256:d6b7393fb4f375905c31c483d81ce2a2905f88aba8cb198 14.3s
=> => sha256:7a1878b1d9ebe3e4d100fa4cba5cd1a5a1228e47 34.79MB / 34.79MB 27.5s
=> => sha256:60495116cae5bb41b583f666b45f849d084e7294ea 2.27MB / 2.27MB 35.5s
=> => sha256:4cac635dde577ea332f246e8821493e1071c4e0de5f8de 448B / 448B 35.2s
=> => extracting sha256:df43ba252b5f813936a37cbf85494d91f16f450798f48e64 1.4s
=> => extracting sha256:a048fb9bf954361501d8453cecac1ffff71e6f3e803a6432 7.5s
=> => extracting sha256:002a034b76fdcfb3a5899b0813f51c6ef8f1ce91224cdee 20.7s
=> => extracting sha256:a9c19616351ea348fa65e68c7703de82b3cb742abcfb6b23 0.0s
=> => extracting sha256:7a1878b1d9ebe3e4d100fa4cba5cd1a5a1228e477feebd7c 4.0s
=> => extracting sha256:60495116cae5bb41b583f666b45f849d084e7294ea68b593 0.1s
=> => extracting sha256:4cac635dde577ea332f246e8821493e1071c4e0de5f8de73 0.0s
=> [build-stage 2/7] COPY . /app 1.1s
=> [build-stage 3/7] WORKDIR /app 0.1s
=> [build-stage 4/7] RUN npm config set registry https://registry.npmmir 8.9s
=> [build-stage 5/7] RUN yarn config set registry https://registry.npmmi 0.8s
=> [build-stage 6/7] RUN yarn install 764.4s
=> ERROR [build-stage 7/7] RUN yarn workspace rath-client build2 1.2s
------
> [build-stage 7/7] RUN yarn workspace rath-client build2:
#0 0.693 yarn workspace v1.22.19
#0 0.989 yarn run v1.22.19
#0 1.084 error Command "build2" not found. Did you mean "build"?
#0 1.084 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
#0 1.117 error Command failed.
#0 1.117 Exit code: 1
#0 1.117 Command: /usr/local/bin/node
#0 1.117 Arguments: /opt/yarn-v1.22.19/lib/cli.js build2
#0 1.117 Directory: /app/packages/rath-client
#0 1.117 Output:
#0 1.117
#0 1.117 info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
------
failed to solve: process "/bin/sh -c yarn workspace rath-client build2" did not complete successfully: exit code: 1
I have cloned the new version of the source and got a new bug. I can't open web site.
open 127.0.0.1:9083
?