containerd/cmd/ctr
Justin Cormack 1d27259777 Partial port to Darwin and FreeBSD
This mainly fixes Linux vs generic Unix differences, with some
differences between Darwin and Freebsd (which are close bit not
identical). Should make fixing for other Unix platforms easier.

Note there are not yet `runc` equivalents for these platforms;
my current use case is image manipulation for the `moby` tool.
However there is interest in OCI runtime ports for both platforms.

Current status is that MacOS can build and run `ctr`, `dist`
and `containerd` and some operations are supported. FreeBSD 11
still needs some more fixes to continuity for extended attributes.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-05-04 18:11:53 +01:00
..
delete.go ctr exec: container id must be provided 2017-05-04 10:40:33 -04:00
events.go Rewrite imports for new github org 2017-04-03 14:05:44 -07:00
exec_unix.go Initial windows runtime work 2017-04-07 09:20:44 -07:00
exec_windows.go Initial windows runtime work 2017-04-07 09:20:44 -07:00
exec.go ctr exec: container id must be provided 2017-05-04 10:40:33 -04:00
info.go Rewrite imports for new github org 2017-04-03 14:05:44 -07:00
kill.go ctr exec: container id must be provided 2017-05-04 10:40:33 -04:00
list.go Add an alias for ctr list 2017-04-25 11:49:56 +08:00
main_unix.go Initial windows runtime work 2017-04-07 09:20:44 -07:00
main.go Fix dist socket parameter 2017-04-10 09:37:43 -07:00
pprof.go archive,cmd,fs: return err directly 2017-03-30 11:32:13 +03:00
run_unix.go Implement Pty and CloseStdin for windows runtime 2017-04-11 07:30:59 -07:00
run_windows.go Implement Pty and CloseStdin for windows runtime 2017-04-11 07:30:59 -07:00
run.go forward all signals to the container 2017-04-22 01:46:57 +03:00
shim.go Partial port to Darwin and FreeBSD 2017-05-04 18:11:53 +01:00
signals_linux.go Partial port to Darwin and FreeBSD 2017-05-04 18:11:53 +01:00
signals_unix.go Partial port to Darwin and FreeBSD 2017-05-04 18:11:53 +01:00
utils_unix.go Partial port to Darwin and FreeBSD 2017-05-04 18:11:53 +01:00
utils_windows.go forward all signals to the container 2017-04-22 01:46:57 +03:00
utils.go ctr couldn't exit when the grpc containerd server is not running 2017-05-04 12:27:01 +03:00