Skip to content

Commit

Permalink
Merge pull request #742 from stgraber/doc
Browse files Browse the repository at this point in the history
doc/projects: Tweak examples
  • Loading branch information
tych0 authored Apr 8, 2024
2 parents bdaf905 + 2122c22 commit e5badf3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions doc/howto/projects_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ However, note that it is not possible to modify the features that are enabled fo

To create a project, use the [`incus project create`](incus_project_create.md) command.

For example, to create a project called `my-project`, enter the following command:

incus project create my-project

You can specify configuration options by using the `--config` flag.
See {ref}`ref-projects` for the available configuration options.

For example, to create a project called `my-project` that isolates instances, but allows access to the default project's images and profiles, enter the following command:
For example, to create a project called `my-project-shared-images` that isolates instances but allows access to the default project's images, enter the following command:

incus project create my-project --config features.images=false --config features.profiles=false
incus project create my-project-shared-images --config features.images=false

To create a project called `my-restricted-project` that blocks access to security-sensitive features (for example, container nesting) but allows backups, enter the following command:

Expand Down

0 comments on commit e5badf3

Please sign in to comment.