ostree-init man page

ostree-init ā€” Initialize a new empty repository


ostree init [Options...]


Creates a new empty repository.



Initialize repository in given mode (bare, bare-user, archive). The default is bare. Note that for archive the repository configuration file will actually have archive-z2, as that's the historical name.


Set the collection ID of the repository. Remotes in clones of this repository must configure the same value in order to pull refs which originated in this repository over peer to peer.

This collection ID must be persistent and globally unique. It is formatted as a reverse DNS name (like a D-Bus interface). It must be set to a reverse DNS domain under your control.

This option may be omitted (the default) to leave peer to peer distribution unsupported for the repository. A collection ID may be added to an existing repository in future to enable peer to peer distribution from that point onwards.

If the collection ID is changed for the repository in future, peer to peer distribution of refs from the repository will break for all peers who do not update their remote configuration to the new collection ID.

Referenced By


OSTree ostree init