Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc/projects: Tweak examples #742

Merged
merged 1 commit into from
Apr 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading