Skip to content

New container ​

Choose New container on the Containers page to open the dialog.

New container dialog

FieldNotes
ImagePick a local image or type a reference to pull it.
NameContainer name.
Command (optional)Overrides the image's default command, e.g. /bin/sleep 3600.
PortsOne mapping per line, e.g. 8080:80.
Volumes and bind mountsOne per line, e.g. my-data:/data.
Environment variablesOne KEY=value per line.
NetworkDefaults to the bridge network; choose another existing network if needed.
Restart policyNever, Always, On failure (with optional max restarts) or Unless stopped. Applied by the app, so it only works while WSLc Desktop Manager is running. See restart policies.

Create stays disabled until the required fields are filled in.