# unikraft services create

Create a service group.

```
unikraft services create [flags]
```

## Examples

Create a new service group:

```bash
unikraft service create \
	--name demo-service \
	--metro fra \
	--domains demo \
	--services 443:8080/tls+http
```

## Options

```
  --cmd CMD                   Run a command to edit fields (receives YAML on stdin, outputs edited YAML on stdout).
  --domains fqdn              Service domains.
  --dry-run                   Print patches without applying them.
  -f, --field FIELD           Specify which fields to include in the output.
  --hard-limit n              Hard limit.
  --load LOAD                 Load fields from a YAML file.
  --metro metro               Metro to create in.
  --name name                 Service group name.
  -o, --output OUTPUT         Output format. One of: kv, table, json, yaml, raw, quiet, template.
  --save FILE                 Save creatable fields as YAML to a file (use - for stdout).
  --services <src>:<dest>[/<handlers>]  Service ports.
  --set <name>=<value>        Key-value pairs to set on the service.
  --set-file <name>=<filename>  Files containing key-value pairs to set on the service.
  --soft-limit n              Soft limit.
  --visual                    Open an editor to modify fields visually.
```

## Options inherited from parent commands

```
  --config file               Path to the configuration file.
  --log-level level           Set the logging level. (default info)
  --log-type type             Set the log type. (default text)
  --profile name              Set the current profile.
  --telemetry                 Toggle anonymous usage analytics. (default true)
```

## See Also

* [`unikraft services`](../services.mdx): Manage Unikraft Cloud services.

