Run Spaces with Docker

Run with Docker

You can use Docker to run most Spaces locally. To view instructions to download and run Spacesโ€™ Docker images, click on the โ€œRun with Dockerโ€ button on the top-right corner of your Space page:

Login to the Docker registry

Some Spaces will require you to login to Hugging Faceโ€™s Docker registry. To do so, youโ€™ll need to provide:

  • Your Hugging Face username as username

  • A User Access Token as password. Generate one here.

Last updated