titan run¶
Runs a new repository. This command will process all arguments after --`
as
arguments to docker run
. The name of the repository is derived from the
--name
parameter, and all containers must be given explicit names (vs.
having a name auto-generated by docker). In addition, the -d
(daemonize)
flag must be specified such that the container runs in the background. For more
information on running repositories, see the Creating a new Repository section.
Syntax¶
titan run -- -d --name <name> [additional docker arguments...]
Example¶
$ titan run -- --name newRepo -d -p 5432:5432 postgres:10
Creating repository newRepo
Creating docker volume newRepo/v0 with path /var/lib/postgresql/data
Running controlled container newRepo