-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #223 from cedwards/docs_update-20200714
update docs for 0.7.20200714 release
- Loading branch information
Showing
26 changed files
with
255 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
===== | ||
clone | ||
===== | ||
|
||
To clone a container and make a duplicate use the `bastille clone` | ||
sub-command.. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille clone azkaban rikers ip | ||
[azkaban]: | ||
Syntax requires a name for the new container and an IP address assignment. | ||
|
||
.. code-block:: shell | ||
Usage: bastille clone [TARGET] [NEW_NAME] [IPADRESS]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
======= | ||
convert | ||
======= | ||
|
||
To convert a thin container to a thick container use `bastille convert`. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille convert azkaban | ||
[azkaban]: | ||
Syntax requires only the target container to convert. | ||
|
||
.. code-block:: shell | ||
Usage: bastille convert TARGET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
== | ||
cp | ||
== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
====== | ||
create | ||
====== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
======= | ||
destroy | ||
======= | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
==== | ||
edit | ||
==== | ||
|
||
To edit container configuration use `bastille edit`. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille edit azkaban [filename] | ||
Syntax requires a target an optional filename. By default the file edited will | ||
be `jail.conf`. Other common filenames are `fstab` or `rctl.conf`. | ||
|
||
.. code-block:: shell | ||
Usage: bastille edit TARGET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
====== | ||
export | ||
====== | ||
|
||
Exporting a container creates an archive or image that can be sent to a | ||
different machine to be imported later. These exported archives can be used as | ||
container backups. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille export azkaban | ||
The export sub-command supports both UFS and ZFS storage. ZFS based containers | ||
will use ZFS snapshots. UFS based containers will use `txz` archives. | ||
|
||
.. code-block:: shell | ||
Usage: bastille export TARGET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
====== | ||
import | ||
====== | ||
|
||
Import a container backup image or archive. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille import /path/to/archive.file | ||
The import sub-command supports both UFS and ZFS storage. ZFS based containers | ||
will use ZFS snapshots. UFS based containers will use `txz` archives. | ||
|
||
.. code-block:: shell | ||
Usage: bastille import file [option] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
===== | ||
mount | ||
===== | ||
|
||
To mount storage within the container use `bastille mount`. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille mount azkaban /storage/foo /media/foo nullfs ro 0 0 | ||
[azkaban]: | ||
Syntax follows standard `/etc/fstab` format: | ||
|
||
.. code-block:: shell | ||
Usage: bastille mount TARGET host_path container_path [filesystem_type options dump pass_number] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
====== | ||
rename | ||
====== | ||
|
||
Rename a container. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille rename azkaban arkham | ||
.. code-block:: shell | ||
Usage: bastille rename TARGET new_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
======= | ||
restart | ||
======= | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
===== | ||
start | ||
===== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
==== | ||
stop | ||
==== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
====== | ||
umount | ||
====== | ||
|
||
To unmount storage from a container use `bastille umount`. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille umount azkaban /media/foo | ||
[azkaban]: | ||
Syntax requires only the container path to unmount: | ||
|
||
.. code-block:: shell | ||
Usage: bastille umount TARGET container_path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.