Closed des1redState closed 1 year ago
Full log:
make docker_build_and_up
docker build -t simulator-server ./simulator/
[+] Building 248.2s (16/16) FINISHED
=> [internal] load .dockerignore 0.0s
=> => transferring context: 88B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 475B 0.0s
=> [internal] load metadata for docker.io/library/alpine:3.14.0 2.7s
=> [internal] load metadata for docker.io/library/golang:1.19 2.7s
=> [build-env 1/6] FROM docker.io/library/golang:1.19@sha256:6fb612aac0ae076bd4f6a76e48c4c8e59a4bae89dc5201252ec2b4eb8a2ae2a0 83.3s
=> => resolve docker.io/library/golang:1.19@sha256:6fb612aac0ae076bd4f6a76e48c4c8e59a4bae89dc5201252ec2b4eb8a2ae2a0 0.0s
=> => sha256:b92474acc7b204fdecc3354d36d455b59dd7c0c81efd478213ffebf99ff7570b 115.33MB / 115.33MB 80.9s
=> => sha256:53b05de6cb3bdb212f1aeda76a16df5887e4bebeba5abe352b5f134dd7090708 156B / 156B 0.3s
=> => sha256:d727e94c6f10d34a6c00c004ce34f7c016f6f5b2fc72e6763a2696d9ba954511 86.26MB / 86.26MB 73.3s
=> => sha256:dd13397d6ccd754586b475131a51ebeb69394eb49de84b647f4fb6a38703da89 63.98MB / 63.98MB 57.4s
=> => sha256:a31111d070044ed920abddebc16bfa67a69fb0e0e782b703073c93ec10dedf67 49.57MB / 49.57MB 58.3s
=> => sha256:2455b35210792787557bbd2b0b976aa27a8bd5931191be95c7291b93b9e38f6c 23.57MB / 23.57MB 16.9s
=> => extracting sha256:a31111d070044ed920abddebc16bfa67a69fb0e0e782b703073c93ec10dedf67 0.9s
=> => extracting sha256:2455b35210792787557bbd2b0b976aa27a8bd5931191be95c7291b93b9e38f6c 0.3s
=> => extracting sha256:dd13397d6ccd754586b475131a51ebeb69394eb49de84b647f4fb6a38703da89 1.0s
=> => extracting sha256:d727e94c6f10d34a6c00c004ce34f7c016f6f5b2fc72e6763a2696d9ba954511 1.2s
=> => extracting sha256:b92474acc7b204fdecc3354d36d455b59dd7c0c81efd478213ffebf99ff7570b 2.2s
=> => extracting sha256:53b05de6cb3bdb212f1aeda76a16df5887e4bebeba5abe352b5f134dd7090708 0.0s
=> [stage-1 1/4] FROM docker.io/library/alpine:3.14.0@sha256:adab3844f497ab9171f070d4cae4114b5aec565ac772e2f2579405b78be67c96 63.6s
=> => resolve docker.io/library/alpine:3.14.0@sha256:adab3844f497ab9171f070d4cae4114b5aec565ac772e2f2579405b78be67c96 0.0s
=> => sha256:58ab47519297212468320b23b8100fc1b2b96e8d342040806ae509a778a0a07a 2.71MB / 2.71MB 4.9s
=> => extracting sha256:58ab47519297212468320b23b8100fc1b2b96e8d342040806ae509a778a0a07a 0.1s
=> [internal] load build context 0.1s
=> => transferring context: 1.66MB 0.0s
=> [build-env 2/6] WORKDIR /go/src/simulator 0.4s
=> [build-env 3/6] COPY go.mod go.sum ./ 0.0s
=> [build-env 4/6] RUN go mod download 59.6s
=> [build-env 5/6] COPY . . 0.5s
=> [build-env 6/6] RUN go build -v -o ./bin/simulator simulator.go 94.3s
=> [stage-1 2/4] COPY --from=build-env /go/src/simulator/bin/simulator /simulator 0.3s
=> [stage-1 3/4] RUN chmod a+x /simulator 0.4s
=> [stage-1 4/4] COPY --from=build-env /go/src/simulator/config.yaml /config.yaml 0.0s
=> exporting to image 4.8s
=> => exporting layers 4.2s
=> => exporting manifest sha256:b2e15aa36dcd6de6fb1c4ec6203a7d036d27fb9a5389ecb122f0cccc1b9a2dbf 0.0s
=> => exporting config sha256:f9266ec17290d557e05ce229759ecbd0df4352882f4b16e1fe2d8a631d199ad4 0.0s
=> => exporting attestation manifest sha256:c02003ee5f3b93c2f696bc9e0ba8712c9c7be885dd75445f87bd889baf76b2d9 0.0s
=> => exporting manifest list sha256:24f6b210259db53af41829f46405a2c593720376066735bbf016dc7dc5cb07d6 0.0s
=> => naming to docker.io/library/simulator-server:latest 0.0s
=> => unpacking to docker.io/library/simulator-server:latest 0.6s
docker build -t simulator-frontend ./web/
[+] Building 200.7s (21/21) FINISHED
=> [internal] load .dockerignore 0.0s
=> => transferring context: 87B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.13kB 0.0s
=> [internal] load metadata for docker.io/library/node:16-alpine 2.1s
=> [internal] load build context 0.0s
=> => transferring context: 1.08MB 0.0s
=> [deps 1/5] FROM docker.io/library/node:16-alpine@sha256:296f32946d2fb5227e43fa51e608bbb11a208d648a833e9b264934fb0c7f404b 11.9s
=> => resolve docker.io/library/node:16-alpine@sha256:296f32946d2fb5227e43fa51e608bbb11a208d648a833e9b264934fb0c7f404b 0.0s
=> => sha256:fd6f008217d2224217b71bbe7536bee2a8e6a1e442953d9cc942f10734d7c2d6 2.34MB / 2.34MB 1.2s
=> => sha256:b41aec56edcb764485a8bf4a476e5446314e93926aa027cb01c314a07209f5a0 447B / 447B 0.2s
=> => sha256:ccc2a7a4abdcd7e60c9ef21c57992067b16f5a7939927cbdf7bf0f1f88270a51 36.45MB / 36.45MB 11.2s
=> => sha256:8c6d1654570f041603f4cef49c320c8f6f3e401324913009d92a19132cbf1ac0 3.33MB / 3.33MB 3.0s
=> => extracting sha256:8c6d1654570f041603f4cef49c320c8f6f3e401324913009d92a19132cbf1ac0 0.1s
=> => extracting sha256:ccc2a7a4abdcd7e60c9ef21c57992067b16f5a7939927cbdf7bf0f1f88270a51 0.6s
=> => extracting sha256:fd6f008217d2224217b71bbe7536bee2a8e6a1e442953d9cc942f10734d7c2d6 0.0s
=> => extracting sha256:b41aec56edcb764485a8bf4a476e5446314e93926aa027cb01c314a07209f5a0 0.0s
=> [deps 2/5] RUN apk update && apk upgrade && apk add --no-cache make gcc g++ py-pip 26.1s
=> [builder 2/5] WORKDIR /app 0.2s
=> [runner 3/9] RUN addgroup -g 1001 -S nodejs 0.1s
=> [builder 3/5] COPY . . 0.0s
=> [runner 4/9] RUN adduser -S nuxtjs -u 1001 0.3s
=> [deps 3/5] WORKDIR /app 0.0s
=> [deps 4/5] COPY package.json yarn.lock ./ 0.0s
=> [deps 5/5] RUN yarn install --frozen-lockfile 43.3s
=> [builder 4/5] COPY --from=deps /app/node_modules ./node_modules 4.2s
=> [builder 5/5] RUN yarn build && yarn install --production --ignore-scripts --prefer-offline 98.1s
=> [runner 5/9] COPY --from=builder /app/nuxt.config.js ./ 0.1s
=> [runner 6/9] COPY --from=builder ./app/package.json ./ 0.0s
=> [runner 7/9] COPY --from=builder ./app/node_modules ./node_modules/ 2.2s
=> [runner 8/9] COPY --from=builder ./app/.nuxt ./.nuxt/ 0.2s
=> [runner 9/9] COPY --from=builder ./app/static ./static/ 0.0s
=> exporting to image 7.7s
=> => exporting layers 5.1s
=> => exporting manifest sha256:4564f2c0dfaccbf19125f2f959ae8c4c2b429fdab693ca9c5961175c59b95fa9 0.0s
=> => exporting config sha256:e7a93a28bf4d48a884c090885c848cdab35ba2ccaae21daa3d95240a77e9660e 0.0s
=> => exporting attestation manifest sha256:2ade6c6dea85b0365292cd4b2b8e37cdc4b972166bff6fdb36abc3fd0e82af9b 0.0s
=> => exporting manifest list sha256:cec84ca2dee43ade5e1715194c8ad49b4c3bdd7c6cd2bb7b2710645fadcb6d27 0.0s
=> => naming to docker.io/library/simulator-frontend:latest 0.0s
=> => unpacking to docker.io/library/simulator-frontend:latest 2.6s
docker-compose up -d
[+] Running 1/1
✘ simulator-etcd Error 0.8s
Error response from daemon: application/vnd.docker.distribution.manifest.v1+prettyjws not supported
make: *** [docker_up] Error 18
Bumping to quay.io/coreos/etcd:v3.4.26
in docker-compose.yaml
seems to resolve this.
@des1redState Would you mind creating a PR for this?
/kind bug
@sanposhiho Sure - here it is https://github.com/kubernetes-sigs/kube-scheduler-simulator/pull/316
Following the "Getting Started" README and executing
make docker_build_and_up
on a fresh clone of master results in the errorError response from daemon: application/vnd.docker.distribution.manifest.v1+prettyjws not supported
M1 Macbook (MacOS 13.3.1) Docker Desktop 4.20.1