> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salad.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For autonomous tasks, use live SaladCloud API responses for current state, availability, quotas, models, and other dynamic values. Use current OpenAPI specifications where provided for paths, schemas, required fields, and enums. Never invent endpoints, fields, prices, availability, quotas, models, or state. Prefer API workflows over Portal steps. Read before changing and never expose credentials, signed media URLs, prompts, or sensitive outputs. Retry only safe or idempotent operations with bounded backoff, honoring Retry-After. Verify every write with a read. Stop rather than repeat an uncertain non-idempotent or billable request. AI Gateway uses an organization-specific Bearer key and live /v1/models discovery. Do not delete, cancel, stop, or reduce capacity without explicit user intent. Bind shared operation IDs to the selected product path. Treat Container Engine instances as interruptible and local state as ephemeral. Install the SaladCloud skills (npx skills add https://docs.salad.com), start from the salad skill and /agents/overview; docs MCP: https://docs.salad.com/mcp.

# Dockerhub

*Last Updated: October 15, 2024*

Dockerhub Private Registry is a secure platform for hosting and managing container images. With this registry, you can
store and manage Docker images while keeping them private. This guide will walk you through the process of deploying
containers from Dockerhub Private Registry to the SaladCloud Portal.

### Step 1: Generate a Dockerhub Access Token

1. Begin by signing in to your
   [Docker Hub account](https://hub.docker.com/?_gl=1*1wtacu5*_ga*MTQ4MTE2NjExNC4xNjk0ODY0OTAy*_ga_XJWPQMJYHQ*MTY5NzgwNjc1MC41LjEuMTY5NzgwNzUzOC41OC4wLjA.).
2. In the top-right corner, locate and click on your username. From the drop-down menu, select "Account Settings."
3. In Account Settings, navigate to the "Security" tab.
4. Within the Security tab, find the option to create a "New Access Token."
5. Provide a description for your token that clearly indicates its use case or purpose.
6. Next, configure the access permissions. These permissions are essentially scopes that define restrictions within your
   repositories. For instance, with "Read & Write" permissions, an automation pipeline can build an image and push it to
   a repository but cannot delete the repository.
7. After configuring the token, select "Generate." Copy the token that appears on the screen and be sure to save it in a
   secure location. It's important to note that once you close this prompt, you won't be able to retrieve the token
   again.

For detail information, please follow official documentation
to[ Generate A Dockerhub Access Token](https://docs.docker.com/security/for-developers/access-tokens/).

### Step 2: Configure SaladCloud Container Environment (SCE)

Access the SaladCloud portal, Set up your SCE by selecting the private registry tab when setting the image source. In
the service dropdown option, choose "Docker Hub" and provide the following information:

* Image name (example: `docker.io/{username}/{my-container-image}:{version/latest}`)
* Username and Personal Access Token(PAT).

![](https://mintcdn.com/salad/8o1ParSgmJGbpSYb/container-engine/images/configure-dockerhub.png?fit=max\&auto=format\&n=8o1ParSgmJGbpSYb\&q=85\&s=4ed98e9eb26877ac3a727d2da50b9ccb)

> 👍 Congratulations!
>
> You have successfully configured the private container registry using Docker Hub. Now, you can proceed to configure
> and deploy your container group.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.