Skip to content

Sample for .ContainerInstances #16

@yacuzo

Description

@yacuzo

Hi!

I'm migrating from the old management SDK and struggling with creating container instances with a lot of options. Example would be appreciated.

How do I set exposed UDP ports, and command line options? With the old Fluent SDK it was done like this:

.DefineContainerInstance(containerId + "-1")
                .WithExternalUdpPort(51234)
                .WithStartingCommandLine(_containerConfig.ImageExecutable, arguments)
                .Attach()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions