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