1. Registry
  2. Packages
  3. Dokploy
  4. API Docs
  5. Registry
Viewing docs for Dokploy v0.4.4
published on Thursday, Nov 5, 2026 by dimeskigj
dokploy logo Dokploy
Viewing docs for Dokploy v0.4.4
published on Thursday, Nov 5, 2026 by dimeskigj

    A Dokploy container registry.

    Create Registry Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Registry(name: string, args: RegistryArgs, opts?: CustomResourceOptions);
    @overload
    def Registry(resource_name: str,
                 args: RegistryArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Registry(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 name: Optional[str] = None,
                 password: Optional[str] = None,
                 url: Optional[str] = None,
                 username: Optional[str] = None,
                 image_prefix: Optional[str] = None,
                 server_id: Optional[str] = None)
    func NewRegistry(ctx *Context, name string, args RegistryArgs, opts ...ResourceOption) (*Registry, error)
    public Registry(string name, RegistryArgs args, CustomResourceOptions? opts = null)
    public Registry(String name, RegistryArgs args)
    public Registry(String name, RegistryArgs args, CustomResourceOptions options)
    
    type: dokploy:Registry
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "dokploy_registry" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var registryResource = new Dokploy.Registry("registryResource", new()
    {
        Name = "string",
        Password = "string",
        Url = "string",
        Username = "string",
        ImagePrefix = "string",
        ServerId = "string",
    });
    
    example, err := dokploy.NewRegistry(ctx, "registryResource", &dokploy.RegistryArgs{
    	Name:        pulumi.String("string"),
    	Password:    pulumi.String("string"),
    	Url:         pulumi.String("string"),
    	Username:    pulumi.String("string"),
    	ImagePrefix: pulumi.String("string"),
    	ServerId:    pulumi.String("string"),
    })
    
    resource "dokploy_registry" "registryResource" {
      lifecycle {
        create_before_destroy = true
      }
      name         = "string"
      password     = "string"
      url          = "string"
      username     = "string"
      image_prefix = "string"
      server_id    = "string"
    }
    
    var registryResource = new Registry("registryResource", RegistryArgs.builder()
        .name("string")
        .password("string")
        .url("string")
        .username("string")
        .imagePrefix("string")
        .serverId("string")
        .build());
    
    registry_resource = dokploy.Registry("registryResource",
        name="string",
        password="string",
        url="string",
        username="string",
        image_prefix="string",
        server_id="string")
    
    const registryResource = new dokploy.Registry("registryResource", {
        name: "string",
        password: "string",
        url: "string",
        username: "string",
        imagePrefix: "string",
        serverId: "string",
    });
    
    type: dokploy:Registry
    properties:
        imagePrefix: string
        name: string
        password: string
        serverId: string
        url: string
        username: string
    

    Registry Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Registry resource accepts the following input properties:

    Name string
    The registry name.
    Password string
    The registry password.
    Url string
    The registry URL.
    Username string
    The registry username.
    ImagePrefix string
    The optional image prefix.
    ServerId string
    The optional server ID.
    Name string
    The registry name.
    Password string
    The registry password.
    Url string
    The registry URL.
    Username string
    The registry username.
    ImagePrefix string
    The optional image prefix.
    ServerId string
    The optional server ID.
    name string
    The registry name.
    password string
    The registry password.
    url string
    The registry URL.
    username string
    The registry username.
    image_prefix string
    The optional image prefix.
    server_id string
    The optional server ID.
    name String
    The registry name.
    password String
    The registry password.
    url String
    The registry URL.
    username String
    The registry username.
    imagePrefix String
    The optional image prefix.
    serverId String
    The optional server ID.
    name string
    The registry name.
    password string
    The registry password.
    url string
    The registry URL.
    username string
    The registry username.
    imagePrefix string
    The optional image prefix.
    serverId string
    The optional server ID.
    name str
    The registry name.
    password str
    The registry password.
    url str
    The registry URL.
    username str
    The registry username.
    image_prefix str
    The optional image prefix.
    server_id str
    The optional server ID.
    name String
    The registry name.
    password String
    The registry password.
    url String
    The registry URL.
    username String
    The registry username.
    imagePrefix String
    The optional image prefix.
    serverId String
    The optional server ID.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Registry resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    RegistryId string
    The stable Dokploy registry ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    RegistryId string
    The stable Dokploy registry ID.
    id string
    The provider-assigned unique ID for this managed resource.
    registry_id string
    The stable Dokploy registry ID.
    id String
    The provider-assigned unique ID for this managed resource.
    registryId String
    The stable Dokploy registry ID.
    id string
    The provider-assigned unique ID for this managed resource.
    registryId string
    The stable Dokploy registry ID.
    id str
    The provider-assigned unique ID for this managed resource.
    registry_id str
    The stable Dokploy registry ID.
    id String
    The provider-assigned unique ID for this managed resource.
    registryId String
    The stable Dokploy registry ID.

    Package Details

    Repository
    dokploy dimeskigj/pulumi-dokploy
    License
    Apache-2.0
    dokploy logo Dokploy
    Viewing docs for Dokploy v0.4.4
    published on Thursday, Nov 5, 2026 by dimeskigj

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial