Update README

This commit is contained in:
yo 2024-09-22 19:37:31 +02:00
parent ca1c7bea5f
commit b72c432a47

View File

@ -26,7 +26,7 @@ Create basejail. A basejail is a jail based on a release: system will be nullfs
List jails List jails
---------- ----------
`gocage list` <pre><code>gocage list<code></pre>
### Specify fields to display ### Specify fields to display
@ -126,22 +126,22 @@ As an example, you want to list boot priorities of automatically starting jails:
Stop jails Stop jails
---------- ----------
`gocage stop test` <pre><code>gocage stop test<code></pre>
Update jails Update jails
---------- ----------
To update jail patch version, use gocage update : To update jail patch version, use gocage update :
`gocage update test` <pre><code>gocage update test<code></pre>
Update basejails/releases Update basejails/releases
---------- ----------
To update basejails, you need to update the release they are based on. Specify release with -r, and the datastore storing concerned release with -d : To update basejails, you need to update the release they are based on. Specify release with -r, and the datastore storing concerned release with -d :
`gocage update -d fastgocage -r 14.1-RELEASE` <pre><code>gocage update -d fastgocage -r 14.1-RELEASE<code></pre>
Upgrade jails Upgrade jails
---------- ----------
To upgrade jail to newer release, use gocage upgrade : To upgrade jail to newer release, use gocage upgrade :
`gocage upgrade -r 13.2-RELEASE test` <pre><code>gocage upgrade -r 13.2-RELEASE test<code></pre>
A pre-upgrade snapshot wil be made so you can rollback if needed. A pre-upgrade snapshot wil be made so you can rollback if needed.
@ -162,7 +162,7 @@ You can now update ports.
Delete jails Delete jails
---------- ----------
`gocage destroy test` <pre><code>gocage destroy test<code></pre>
Multi datastore Multi datastore
@ -240,5 +240,4 @@ For example if you destroyed releases/12.3-RELEASE and still have the downloaded
TODO TODO
---------- ----------
gocage create from templates gocage create from templates
gocage init
create default pool with defaults.json