I'm trying to build a basic pex file using a linux...
# general
s
I'm trying to build a basic pex file using a linux_x86_64 docker environment from a Mac M1, but keep running into
Copy code
IntrinsicError: Failed to pull Docker image `sha256:f84b1f824c06320292fe5a0049a13c3b90e72c47bd4a9518e661ac93fef30a0f`: DockerResponseServerError { status_code: 404, message: "pull access denied for sha256, repository does not exist or may require 'docker login': denied: requested access to the resource is denied" }
Here's my `docker_environment`:
Copy code
docker_environment(
  name="container_py",
  platform="linux_x86_64",
  image="python:3.9",
  python_bootstrap_search_path = ['<PATH>']
)
I'm able to pull
python:3.9
x86_64 manually like this:
Copy code
docker pull python:3.9 --platform x86_64
Any ideas?
c
This is a good place to start, if you haven’t tried that already: https://www.pantsbuild.org/docs/docker#docker-authentication
s
I just didn't think you had to login to docker to pull a public image like
python:3.9
. At least I've never had to login before and am able to pull it manually without providing any credentials. I'm obviously missing something though, will read through those docs, thanks
c
if you’re using docker desktop, you may be logged in from long ago without realizing it’s being used?
s
Yeah that might be possible