Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Containerd 0.5 #98

Merged
merged 23 commits into from Feb 12, 2016
Merged

Containerd 0.5 #98

merged 23 commits into from Feb 12, 2016

Commits on Feb 3, 2016

  1. Add shim for reattach of processes

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    
    Remove runtime files from containerd
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    
    Update supervisor for orphaned containers
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    
    Remove ctr/container.go back to rpc calls
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    
    Add attach to loaded container
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    
    Add monitor based on epoll for process exits
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    
    Convert pids in containerd to string
    
    This is so that we no longer care about linux or system level pids and
    processes in containerd have user defined process id(pid) kinda like the
    exec process ids that docker has today.
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    
    Add reaper back to containerd
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    
    Implement list containers with new process model
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    
    Implement restore of processes
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    
    Add NONBLOCK to exit fifo open
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    
    Implement tty reattach
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    
    Fix race in exit pipe creation
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    
    Add delete to shim
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    
    Update shim to use pid-file and not stdout
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 3, 2016
    Configuration menu
    Copy the full SHA
    fe38efd View commit details
    Browse the repository at this point in the history
  2. Add reconnect for attach events

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 3, 2016
    Configuration menu
    Copy the full SHA
    6808dbc View commit details
    Browse the repository at this point in the history
  3. Update shim for exec

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 3, 2016
    Configuration menu
    Copy the full SHA
    835f3b6 View commit details
    Browse the repository at this point in the history
  4. Implement checkpoint / restore for shim

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 3, 2016
    Configuration menu
    Copy the full SHA
    277cc92 View commit details
    Browse the repository at this point in the history
  5. Add close stdin

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 3, 2016
    Configuration menu
    Copy the full SHA
    a42eb9f View commit details
    Browse the repository at this point in the history
  6. Add tty resize api

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 3, 2016
    Configuration menu
    Copy the full SHA
    f5fdc54 View commit details
    Browse the repository at this point in the history
  7. Move fifo creation to client

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 3, 2016
    Configuration menu
    Copy the full SHA
    36eb83c View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2016

  1. Add pid and stdio to process state

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 4, 2016
    Configuration menu
    Copy the full SHA
    01176f2 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2016

  1. Update to use runc 0.0.8

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    20a39bc View commit details
    Browse the repository at this point in the history
  2. Fix tty and io permission for userns

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    cf28969 View commit details
    Browse the repository at this point in the history
  3. Move exec and checkpoint to process state

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    d317f71 View commit details
    Browse the repository at this point in the history
  4. Return container on start

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    58c5eb5 View commit details
    Browse the repository at this point in the history
  5. Add id to state command to return single container

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    76d69b4 View commit details
    Browse the repository at this point in the history
  6. Add labels for containers

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    d6bd304 View commit details
    Browse the repository at this point in the history
  7. Add all pids to state output

    Also update libcontainer dep
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    532697f View commit details
    Browse the repository at this point in the history
  8. Implement stats for containerd

    This is a single endpoint that clients will poll
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    bdeb87a View commit details
    Browse the repository at this point in the history
  9. Remove lock os thread in event loop

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    34024a5 View commit details
    Browse the repository at this point in the history
  10. Fix memory value in stats api

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    d2bf710 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2016

  1. Rename Events to task in supervisor

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 12, 2016
    Configuration menu
    Copy the full SHA
    3dc59d5 View commit details
    Browse the repository at this point in the history
  2. add event log and timestamp to events api

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 12, 2016
    Configuration menu
    Copy the full SHA
    9341a95 View commit details
    Browse the repository at this point in the history
  3. Remove name from container proto

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 12, 2016
    Configuration menu
    Copy the full SHA
    7b182bd View commit details
    Browse the repository at this point in the history
  4. Fix time parsing from API default value

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 12, 2016
    Configuration menu
    Copy the full SHA
    1d8dc2a View commit details
    Browse the repository at this point in the history
  5. Don't get pids on create

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 12, 2016
    Configuration menu
    Copy the full SHA
    d19c818 View commit details
    Browse the repository at this point in the history