748 Commits
Author SHA1 Message Date
Jonathan Boulle c94b533841 version: bump to v0.3.2 v0.3.2 2015-02-13 10:15:59 -08:00
Brandon Philips e10e7643dc Merge pull request #526 from jonboulle/insec
fetch: require -insecure-skip-verify for Docker images
2015-02-13 10:09:45 -08:00
Jonathan Boulle 9a3c0c0333 Merge pull request #447 from jonboulle/doc
*: rework documentation
2015-02-13 09:48:52 -08:00
Jonathan Boulle 8dcf1b8938 fetch: require -insecure-skip-verify for Docker images
Unfortunately since Docker images do not support signature verification,
we can't enable it for them. To make things explicit, require users to
provide the -insecure-skip-verify flag to work with Docker images.
2015-02-13 09:36:26 -08:00
Jonathan Boulle 546e96641e *: rework documentation
- Update README to include contributing/contact sections
- Split out appc description into its own document
- Split out stages description into architecture document (will soon be
  in need of more updates)
- Standardise on "Rocket" instead of "rocket"
- Add godoc link
2015-02-13 09:35:03 -08:00
Jonathan Boulle 17a3e8e8a7 Merge pull request #524 from endocode/alban/netns-error
net: fix error management
2015-02-13 09:15:32 -08:00
Jonathan Boulle 47430c06c3 Merge pull request #517 from eyakubovich/copy-netconf
net: copy netconf files into container dir
2015-02-13 09:14:59 -08:00
Brandon Philips 70c0c45d2d Merge pull request #523 from endocode/iaguis/bump-docker2aci
Bump docker2aci dependency
2015-02-13 08:38:44 -08:00
Alban Crequy b843ce369b net: fix error management 2015-02-13 16:10:13 +01:00
Iago López Galeiras 6e96a2e628 Bump docker2aci dependency
It fixes some non-working images by including environment and workdir,
handling Entrypoint and Cmd correctly and fixing a couple of minor bugs.
2015-02-13 11:14:03 +01:00
Jonathan Boulle 97f1e29e71 Merge pull request #520 from jonboulle/build
Default stage1 path should be configurable with a build option
2015-02-12 17:46:06 -08:00
Eugene Yakubovich facff5ed44 net: copy netconf files into container dir
The user might modify or delete the net config
files while the container is running. This will
mess up the plugins on the teardown path. Copying
them into a the container directory and using them
from there should guard against that. It also lays
the foundation for GC to process unremoved files.
2015-02-12 17:34:48 -08:00
Jonathan Boulle 10beb3920d build: allow setting of stage1 image path
This introduces the ability to set the default stage1 image path for
`rkt run` by setting the environment variable RKT_STAGE1_IMAGE at build
time (i.e when invoking ./build).

The variable should be set to the fully qualified path at which rkt can
find the stage1 image - for example:

	RKT_STAGE1_IMAGE=/usr/lib/rkt/stage1.aci ./build

Rocket will use this environment variable to set the default value for
the stage1-image flag. If the value is _not_ set, it will continue to
use the heuristic it does today to guess the location of the stage1
image, by looking for a file called stage1.aci that is in the same
directory as rkt itself.
2015-02-12 16:48:26 -08:00
Vito Caputo c1bc4628d2 Merge pull request #515 from vcaputo/stage1_doc
doc: stage1 implementor's guide
2015-02-12 11:44:04 -08:00
Vito Caputo 23b72d870d doc: stage1 implementor's guide
Fixes #497
2015-02-12 11:40:07 -08:00
Jonathan Boulle 68a0c0b656 Merge pull request #489 from endocode/iaguis/docker2aci
rkt run: support docker images
2015-02-11 15:40:23 -08:00
Brandon Philips 330e69f846 Merge pull request #519 from robszumski/docs-mount
docs: explain volumes
2015-02-11 15:38:30 -08:00
Vito Caputo 53837a65a6 Merge pull request #510 from vcaputo/rename_init_entrypoint
*: rename stage1 entrypoint annotation from init->run
2015-02-11 15:37:33 -08:00
Rob Szumski 43a29fd811 docs: fix --volume flags 2015-02-11 15:33:05 -08:00
Rob Szumski b32c876641 docs: explain volumes 2015-02-11 14:14:09 -08:00
Vito Caputo ee7d400945 Merge pull request #514 from vcaputo/trust_strip_prefix_schemes
rkt trust: strip common url schemes from --prefix argument
2015-02-11 12:47:59 -08:00
Jonathan Boulle 1e8e8ad5fc Merge pull request #512 from vcaputo/trust_https
rkt trust: disable http by default, enable via --insecure-allow-http
2015-02-11 12:06:21 -08:00
Jonathan Boulle a3af2deb05 Merge pull request #516 from vbatts/keystore
pkg/keystore: error for no sigs in *.sig
2015-02-11 10:32:22 -08:00
Vincent Batts aea9f30a59 pkg/keystore: error for no sigs in *.sig
if the Reader for the *.sig is without an armored signature, then the
returned error is just EOF. Not helpful.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-02-10 21:36:35 +01:00
Jonathan Boulle 3b494a8029 Merge pull request #513 from vcaputo/macbuilds
rkt: don't build gc.go, containers.go, and uuid.go on non-linux
2015-02-10 01:46:01 +01:00
Jonathan Boulle f15cff221e Merge pull request #502 from robszumski/commands-2
docs: expand run and gc commands
2015-02-10 01:41:07 +01:00
Vito Caputo 42bfb0e579 rkt trust: strip common url schemes from --prefix argument
Fixes #472
2015-02-09 16:35:36 -08:00
Vito Caputo e352599902 rkt: don't build gc.go, containers.go, and uuid.go on non-linux
Fixes #495
2015-02-09 16:16:36 -08:00
Vito Caputo 161b922959 rkt trust: disable http by default, enable via --insecure-allow-http 2015-02-09 15:48:10 -08:00
Vito Caputo 797baa098c *: rename stage1 entrypoint annotation from init->run
Currently the annotation "coreos.com/rocket/stage1/init" represents the stage1
entrypoint used by `rkt run`.  Renaming to "coreos.com/rocket/stage1/run" is
more consistent and self-documenting, aligning with the `rkt enter` entrypoint
annotation "coreos.com/rocket/stage1/enter".
2015-02-09 13:45:31 -08:00
Eugene Yakubovich 96361de92b Merge pull request #508 from eyakubovich/mtu
net: add support for MTU config
2015-02-09 13:36:00 -08:00
Eugene Yakubovich 2352950ba6 net: add support for MTU config 2015-02-09 12:41:44 -08:00
Rob Szumski a5d9c18f00 docs: explain gc in more detail 2015-02-09 11:09:02 -08:00
Iago López Galeiras 86152095aa rkt: initial support for docker images
We use the docker2aci library to fetch and squash a docker image into an
ACI when fetch or run is called with an URL like

    docker://<docker registry URL>
2015-02-09 15:44:42 +01:00
Jonathan Boulle 09259c99a5 Merge pull request #501 from vcaputo/emptydisco
rkt trust: print error when --prefix discovery finds nothing
2015-02-09 12:33:02 +01:00
Jonathan Boulle b80c5703f2 Merge pull request #503 from yoshuawuyts/patch-1
readme: bump rocket version to 0.3.1
2015-02-09 12:16:06 +01:00
Rob Szumski 6788648cb0 address feedback 2015-02-07 14:42:37 -08:00
Yoshua Wuyts 2670d02aa0 readme: bump rocket version to 0.3.1
This updates the recommended rocket install to the latest release. Thanks!
2015-02-07 19:41:21 +01:00
Rob Szumski d840ce2bf3 docs: add rkt run todos 2015-02-06 19:15:00 -08:00
Rob Szumski 7e08dc6a10 docs: flesh out run and gc 2015-02-06 19:09:28 -08:00
Vito Caputo 7b2fb47ca8 rkt trust: print error when --prefix discovery finds nothing 2015-02-06 19:04:17 -08:00
Rob Szumski a0c27320e0 docs: add note about #500 2015-02-06 18:19:34 -08:00
Rob Szumski dc086c76b8 docs: remove conflicting command 2015-02-06 17:59:13 -08:00
Rob Szumski 38608d5605 docs: add trust output 2015-02-06 17:41:28 -08:00
Vito Caputo be25d3d51e Merge pull request #499 from vcaputo/remote_consolidate_gets
cas/remote: consolidate signature/ACI HTTP gets
2015-02-06 16:38:30 -08:00
Eugene Yakubovich ca80ccf11a Merge pull request #498 from eyakubovich/ipmasq
net: added IP masquerade support
2015-02-06 16:26:18 -08:00
Vito Caputo 2d4343e20d cas/remote: consolidate signature/ACI HTTP gets 2015-02-06 16:09:21 -08:00
Eugene Yakubovich 356555864a net: added IP masquerade support 2015-02-06 16:08:39 -08:00
Jonathan Boulle 115387c59b Merge pull request #482 from robszumski/doc-commands
docs: initial effort to doc commands
2015-02-06 23:15:43 +01:00
Brandon Philips 89e5073fbb Merge pull request #496 from jonboulle/master
Godeps: bump to fix go 1.4
2015-02-06 13:36:05 -08:00