github.com/blixtra/rkt@v0.8.1-0.20160204105720-ab0d1add1a43/Documentation/subcommands/run-prepared.md (about) 1 # rkt run-prepared 2 3 Once a pod is prepared with rkt [prepare](prepare.md), it can be run by executing `rkt run-prepared UUID`. 4 5 ## Example 6 7 ``` 8 # rkt list 9 UUID APP ACI STATE NETWORKS 10 c9fad0e6 etcd coreos.com/etcd prepared 11 # rkt run-prepared c9fad0e6 12 2015/10/01 16:44:08 Setting up stage1 13 2015/10/01 16:44:08 Wrote filesystem to /var/lib/rkt/pods/run/c9fad0e6-8236-4fc2-ad17-55d0a4c7d742 14 2015/10/01 16:44:08 Pivoting to filesystem /var/lib/rkt/pods/run/c9fad0e6-8236-4fc2-ad17-55d0a4c7d742 15 2015/10/01 16:44:08 Execing /init 16 [25701.705171] etcd[4]: 2015/10/01 14:44:09 etcd: no data-dir provided, using default data-dir ./default.etcd 17 [25701.705596] etcd[4]: 2015/10/01 14:44:09 etcd: listening for peers on http://localhost:2380 18 [25701.705875] etcd[4]: 2015/10/01 14:44:09 etcd: listening for peers on http://localhost:7001 19 [25701.706473] etcd[4]: 2015/10/01 14:44:09 etcd: listening for client requests on http://localhost:2379 20 [25701.706679] etcd[4]: 2015/10/01 14:44:09 etcd: listening for client requests on http://localhost:4001 21 [25701.706842] etcd[4]: 2015/10/01 14:44:09 etcdserver: datadir is valid for the 2.0.1 format 22 [25701.706999] etcd[4]: 2015/10/01 14:44:09 etcdserver: name = default 23 [25701.707147] etcd[4]: 2015/10/01 14:44:09 etcdserver: data dir = default.etcd 24 [25701.707294] etcd[4]: 2015/10/01 14:44:09 etcdserver: member dir = default.etcd/member 25 [25701.707464] etcd[4]: 2015/10/01 14:44:09 etcdserver: heartbeat = 100ms 26 [25701.707624] etcd[4]: 2015/10/01 14:44:09 etcdserver: election = 1000ms 27 [25701.707771] etcd[4]: 2015/10/01 14:44:09 etcdserver: snapshot count = 10000 28 [25701.707917] etcd[4]: 2015/10/01 14:44:09 etcdserver: advertise client URLs = http://localhost:2379,http://localhost:4001 29 [25701.708062] etcd[4]: 2015/10/01 14:44:09 etcdserver: initial advertise peer URLs = http://localhost:2380,http://localhost:7001 30 [25701.708216] etcd[4]: 2015/10/01 14:44:09 etcdserver: initial cluster = default=http://localhost:2380,default=http://localhost:7001 31 [25701.712024] etcd[4]: 2015/10/01 14:44:09 etcdserver: start member ce2a822cea30bfca in cluster 7e27652122e8b2ae 32 [25701.712623] etcd[4]: 2015/10/01 14:44:09 raft: ce2a822cea30bfca became follower at term 0 33 [25701.713183] etcd[4]: 2015/10/01 14:44:09 raft: newRaft ce2a822cea30bfca [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0] 34 [25701.713378] etcd[4]: 2015/10/01 14:44:09 raft: ce2a822cea30bfca became follower at term 1 35 [25701.716177] etcd[4]: 2015/10/01 14:44:09 etcdserver: added local member ce2a822cea30bfca [http://localhost:2380 http://localhost:7001] to cluster 7e27652122e8b2ae 36 [25703.012367] etcd[4]: 2015/10/01 14:44:10 raft: ce2a822cea30bfca is starting a new election at term 1 37 [25703.012749] etcd[4]: 2015/10/01 14:44:10 raft: ce2a822cea30bfca became candidate at term 2 38 [25703.012976] etcd[4]: 2015/10/01 14:44:10 raft: ce2a822cea30bfca received vote from ce2a822cea30bfca at term 2 39 [25703.013193] etcd[4]: 2015/10/01 14:44:10 raft: ce2a822cea30bfca became leader at term 2 40 [25703.013405] etcd[4]: 2015/10/01 14:44:10 raft.node: ce2a822cea30bfca elected leader ce2a822cea30bfca at term 2 41 [25703.017089] etcd[4]: 2015/10/01 14:44:10 etcdserver: published {Name:default ClientURLs:[http://localhost:2379 http://localhost:4001]} to cluster 7e27652122e8b2ae 42 ``` 43 44 ## Options 45 46 | Flag | Default | Options | Description | 47 | --- | --- | --- | --- | 48 | `--dns` | `` | IP Address | Name server to write in `/etc/resolv.conf`. It can be specified several times | 49 | `--dns-opt` | `` | Option as described in the options section in resolv.conf(5) | DNS option to write in `/etc/resolv.conf`. It can be specified several times | 50 | `--dns-search` | `` | Domain name | DNS search domain to write in `/etc/resolv.conf`. It can be specified several times | 51 | `--interactive` | `false` | `true` or `false` | Run pod interactively. If true, only one image may be supplied | 52 | `--mds-register` | `false` | `true` or `false` | Register pod with metadata service. It needs network connectivity to the host (`--net=(default|default-restricted|host)` | 53 | `--net` | `default` | A comma-separated list of networks. Syntax: `--net[=n[:args], ...]` | Configure the pod's networking. Optionally, pass a list of user-configured networks to load and set arguments to pass to each network, respectively | 54 55 ## Global options 56 57 | Flag | Default | Options | Description | 58 | --- | --- | --- | --- | 59 | `--debug` | `false` | `true` or `false` | Prints out more debug information to `stderr` | 60 | `--dir` | `/var/lib/rkt` | A directory path | Path to the `rkt` data directory | 61 | `--insecure-options` | none | <ul><li>**none**: All security features are enabled</li><li>**http**: Allow HTTP connections. Be warned that this will send any credentials as clear text.</li><li>**image**: Disables verifying image signatures</li><li>**tls**: Accept any certificate from the server and any host name in that certificate</li><li>**ondisk**: Disables verifying the integrity of the on-disk, rendered image before running. This significantly speeds up start time.</li><li>**all**: Disables all security checks</li></ul> | Comma-separated list of security features to disable | 62 | `--local-config` | `/etc/rkt` | A directory path | Path to the local configuration directory | 63 | `--system-config` | `/usr/lib/rkt` | A directory path | Path to the system configuration directory | 64 | `--trust-keys-from-https` | `false` | `true` or `false` | Automatically trust gpg keys fetched from https | 65 | `--user-config` | `` | A directory path | Path to the user configuration directory |