Hi,
I was using Docker image for data transform so far,
However, I tried to push a new image, but it doesnt work with errors,
First, it says the image upload size is the issue. 403 upload_size
I used 3GB image, selenium/standalone-chrome (it was working fine before!)
- FAQ says Foundry supports a image up to 22GB, but it doesn’t work
- AI says, probably Palantir Foundry has a limit for the size of each layers,
so I reduced the size of each layers by the help of ChatGPT… but still doesnt work
Second, if I try with a very light image (such as alpine) to make each layer below 100MB
But it still shows some Unkown Error 406.
- According to AI, it says “Palantir’s WAF (Web Application Firewall) is blocking Docker registry access requests with HTTP 406 error, preventing the MLflow server image from being pulled.”
Here are the errors, please guide me how to fix this.
It was working fine before so maybe the new upgrade of the platform have some new security policies..
[Error 1 - Uplaod Size]
docker login -u “$env:REPOSITORY” -p “$env:TOKEN” bongo-container-registry.palantirfoundry.com
docker push --platform=linux/amd64 bongo-container-registry.palantirfoundry.com/selenium-light:0.0.1
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Login Succeeded
i Info → Using --platform pushes only the specified platform manifest of a multi-platform image index.
Other components, like attestations, will not be included.
To push the complete multi-platform image, remove the --platform flag.
The push refers to repository
d0b9c9a14bf9: Waiting
7471121a1552: Waiting
e9ad048d821e: Waiting
1f0687523bc2: Waiting
2567892b1c97: Waiting
453882ec7cbf: Waiting
11957b9d4953: Waiting
1f0687523bc2: Pushing \[==================================================>\] 1.538MB/1.538MB
91ba799f3d44: Pushing \[======> \] 1.868MB/14.13MB
740951d2c557: Pushed
4b3ffd8ccb52: Pushing \[=======> \] 4.358MB/29.72MB
482cdea6c179: Pushing \[===> \] 11.73MB/164.8MB
a6703f9f6f17: Pushed
695138c13a44: Pushing \[=======> \] 1.671MB/11.06MB
b2c762f3fbec: Pushing \[===============> \] 9.601MB/31.45MB
9e395ced9090: Pushed
f80028164a20: Pushed
bb1dbeec2987: Pushed
f98b4190222a: Pushing \[========> \] 6.39MB/39.38MB
186b13a8b683: Pushed
fc37c09a3842: Pushing \[=> \] 3.408MB/101.4MB
132cb377a5c9: Pushing \[==> \] 8.028MB/186.9MB
ab23a9a63b53: Pushed
5de7f3f3597f: Pushing \[==> \] 9.863MB/217.2MB
3e187ab6bc16: Pushed
3cb35b4770b7: Pushed
a7ea41c854e5: Pushing \[==================================================>\] 2.796MB/2.796MB
3620e6cbe44e: Pushed
f6f46a81cd2f: Pushing \[=====================> \] 3.834MB/8.772MB
976fb8146470: Pushing \[===========================> \] 7.733MB/13.93MB
4ee9235af5b2: Pushed
559f894e7a8c: Pushed
0d9689148f5c: Pushed
807e07821cea: Pushed
a949c48c00c2: Pushing \[==> \] 3.998MB/97.52MB
813bab8e99de: Pushed
unknown: failed commit on ref “layer-sha256:a7ea41c854e59056d5923ba5601f347e09f15d0cf913fbf13a49596ff5c85698”: unexpected status from PUT request to https://REDACTED-registry.palantirfoundry.com/v2/selenium-light/blobs/uploads/c9ea2ad3-00b8-4641-9187-393344b9f93e?digest=sha256%3Aa7ea41c854e59056d5923ba5601f347e09f15d0cf913fbf13a49596ff5c85698: 403 upload_size
**\[Error2 - Unkown Error\]**
docker login -u “$env:REPOSITORY” -p “$env:TOKEN” REDACTED-registry.palantirfoundry.com
docker push --platform=linux/amd64 REDACTED-registry.palantirfoundry.com/test-alpine:0.0.1
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Login Succeeded
i Info → Using --platform pushes only the specified platform manifest of a multi-platform image index.
Other components, like attestations, will not be included.
To push the complete multi-platform image, remove the --platform flag.
The push refers to repository \[REDACTED-registry.palantirfoundry.com/test-alpine\]
014e56e61396: Pushing \[==================================================>\] 3.859MB/3.859MB
unknown: failed commit on ref “config-sha256:7acffee03fe864cd6b88219a1028855d6c912e7cf6fac633aa4307529fd0cc08”: unexpected status from GET request to https://REDACTED.palantir.com/?trace=693a4650646cf9fee9a476b3: 406 Unknown Error