Commit graph

48 commits

Author SHA1 Message Date
Kerry Schwab
599418bb64 docs: fix typo in the --user-map example 2015-12-27 16:27:39 +01:00
gdm85
7dc26dc8bc pflask: implement support for capabilities
Closes #6.
2015-10-04 14:23:10 +02:00
Alessandro Ghedini
d6a58046c1 pflask.rst: clarify --user behaviour wrt userns
See #4 for the problem.
2015-09-25 23:45:12 +02:00
Alessandro Ghedini
2086fdccc7 pflask: use gengetopt to generate getopt_long code
Note that this changes the syntax of --mount and --netif, which now use
":" as option separator instead of ",".
2015-07-16 16:00:01 +02:00
Alessandro Ghedini
e0961d59b2 pflask: rename --volatile option to --ephemeral
It just makes more sense.
2015-06-28 15:36:27 +02:00
Alessandro Ghedini
7fe5861084 mount: fix overlay lowerdir with --chroot
If --chroot is specified the overlay mount dest path would be calculated
as %chroot%/%dest%. However the lowerdir, which should be equal to the dest
path would remain %dest$.
2015-06-26 18:57:56 +02:00
Alessandro Ghedini
3861d70e36 docs: better README and manpage 2015-06-26 13:32:29 +02:00
Alessandro Ghedini
8d54b7df2e pflask: change some options descriptions 2015-06-25 19:08:35 +02:00
Alessandro Ghedini
8dbb9a9c98 user: improve API
- rename --map-users -> --user-map
- --user-map can be used multiple times
- if no --user-map is defined, --user is used
- id maps are created all at once
- setgroups is not disabled anymore: newuidmap/newgidmap is mandatory for
  unprivileged containers
2015-06-25 18:35:09 +02:00
Alessandro Ghedini
d82e1e97d4 cgoup: improve API
The --cgroup option will now take a single controller name and can be
used multiple times.
2015-06-25 15:49:06 +02:00
Alessandro Ghedini
be6b4fb220 pflask: add --map-users option
This can be used to augment (or in alternative) the --user option.
2015-06-23 21:01:28 +02:00
Alessandro Ghedini
8601fe4874 netif: add ipvlan support 2015-06-21 16:35:22 +02:00
Alessandro Ghedini
b4ee710a47 pflask: add --hostname option 2015-06-20 20:47:15 +02:00
Alessandro Ghedini
2b24e46816 pflask: add --volatile option
It discards any changes to / once the container exits.
2015-06-20 18:22:54 +02:00
Alessandro Ghedini
fc8c1b2ec0 mount: make all mounts relative to chroot
E.g. --chroot=/root --mount=bind,/tmp,/tmp mounts into /root/tmp.
2015-06-20 18:01:16 +02:00
Alessandro Ghedini
f0f625fb08 docs: fix formatting 2015-05-14 20:35:17 +02:00
Alessandro Ghedini
a92cb9fa63 docs: fix pflask man age description 2015-05-08 13:23:39 +02:00
Alessandro Ghedini
c9e888c70e docs: misc clean-up 2015-05-07 23:21:11 +02:00
Alessandro Ghedini
9ddabcc5b1 docs: convert docs to sphinx 2015-05-07 22:43:06 +02:00
Alessandro Ghedini
56a925eb5a mount: merge aufs and overlay mount types
The new 'overlay' mount type requires 3 arguments like the old, even if AuFS
is used. Also, the check for AuFS or OverlayFS is currently done at build-time,
but at some point in the future I'd like to do it at runtime somehow.

The aufs type is still available for backwards compatibility, but is not
documented.
2015-03-06 17:41:52 +01:00
Alessandro Ghedini
6a55b4722f mount: add 'workdir' parameter to overlayfs 2015-03-06 16:42:10 +01:00
Alessandro Ghedini
82be3bbfdc build: replace cmake with waf 2015-02-25 00:08:55 +01:00
Alessandro Ghedini
cd783e9cfd docs: fix reference to renamed option 2015-02-23 19:24:26 +01:00
Alessandro Ghedini
bd1e246a22 pflask: disable user namespace by default
userns will be enabled by passing --user=<user>.
2015-02-17 10:09:21 +01:00
Alessandro Ghedini
b86a25bcdb docs: rebuild manpages 2015-01-13 22:50:50 +01:00
Alessandro Ghedini
188530e74e docs: add note about userns support for AuFS and OverlayFS 2015-01-13 22:50:14 +01:00
Alessandro Ghedini
cf2cb97272 mount: add support for overlayfs
Note that like AuFS, this doesn't support user namespaces either.
2014-12-27 12:57:06 +01:00
Alessandro Ghedini
4057c84c18 pflask: allow multiple --setenv 2014-02-14 19:54:49 +01:00
Alessandro Ghedini
64ec17e62a pflask: add --keepenv option 2014-02-08 20:25:25 +01:00
Alessandro Ghedini
38b6ce61bf docs: update manpage as well 2014-01-17 19:58:57 +01:00
Alessandro Ghedini
5760e79abc docs: fix syntax 2014-01-06 19:27:41 +01:00
Alessandro Ghedini
2bcb134802 cgroup: initial implementation 2014-01-06 19:14:36 +01:00
Alessandro Ghedini
d62ddc4c52 pflask: add --setenv option 2013-12-28 20:59:25 +01:00
Alessandro Ghedini
d9a8ac7ed5 rename --root -> --chroot 2013-12-28 20:47:44 +01:00
Alessandro Ghedini
9fd83347bf docs: fix typo 2013-12-23 18:36:15 +01:00
Alessandro Ghedini
60d1ecda4a docs: document new --netif behaviour 2013-12-23 13:15:16 +01:00
Alessandro Ghedini
dd92e90ab6 mount: implement bind-ro mount point type 2013-12-22 13:32:58 +01:00
Alessandro Ghedini
fd357829da docs: document DIST and ARCH too 2013-12-16 11:52:29 +01:00
Alessandro Ghedini
eb6e7c4dca docs: add manpage for pflask-debuild 2013-12-16 11:15:41 +01:00
Alessandro Ghedini
35e1cc7c60 docs: fix --netif description 2013-12-13 17:39:36 +01:00
Alessandro Ghedini
ff43c3f123 docs: add some clarifications 2013-12-12 22:55:58 +01:00
Alessandro Ghedini
ff9f9da6e7 docs: document --netif behaviour 2013-12-11 23:33:25 +01:00
Alessandro Ghedini
279c05ea61 typo 2013-12-10 20:12:48 +01:00
Alessandro Ghedini
f729f6e37b docs: fix --detach/--attach wording 2013-12-10 19:05:50 +01:00
Alessandro Ghedini
80612f4149 docs: document --no options and minor fixes 2013-12-10 18:57:13 +01:00
Alessandro Ghedini
1ea185aa0b pty: detect escape code '^@' 2013-12-10 00:18:24 +01:00
Alessandro Ghedini
77e191f62b docs: do not document not supported 'loop' 2013-12-09 23:55:24 +01:00
Alessandro Ghedini
46d117e90f docs: add manpage 2013-12-09 23:33:49 +01:00