summaryrefslogtreecommitdiff
path: root/pkg/libcontainer/TODO.md
blob: f18c0b4c517f3bd79c7caa91751c9d06f83be264 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#### goals
* small and simple - line count is not everything but less code is better
* clean lines between what we do in the pkg 
* provide primitives for working with namespaces not cater to every option
* extend via configuration not by features - host networking, no networking, veth network can be accomplished via adjusting the container.json, nothing to do with code

#### tasks
* proper tty for a new process in an existing container
* use exec or raw syscalls for new process in existing container
* setup proper user in namespace if specified
* implement hook or clean interface for cgroups
* example configs for different setups (host networking, boot init)
* improve pkg documentation with comments
* testing - this is hard in a low level pkg but we could do some, maybe
* pivot root
* selinux
* apparmor