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

Implement create and start #827

Merged
merged 11 commits into from
Jun 3, 2016

Commits on May 31, 2016

  1. Rename start to run

    `runc run` is the command that will create and start a container in one
    single command.
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed May 31, 2016
    Configuration menu
    Copy the full SHA
    75fb70b View commit details
    Browse the repository at this point in the history
  2. Add create and start command for container lifecycle

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed May 31, 2016
    Configuration menu
    Copy the full SHA
    3fe7d7f View commit details
    Browse the repository at this point in the history
  3. Fix libcontainer states

    Move initialized to created and destoryed to stopped.
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed May 31, 2016
    Configuration menu
    Copy the full SHA
    30f1006 View commit details
    Browse the repository at this point in the history
  4. Only create a buffered channel of one

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed May 31, 2016
    Configuration menu
    Copy the full SHA
    3fc929f View commit details
    Browse the repository at this point in the history
  5. Kill container on delete

    If the container's state is `created` when runc delete is called make
    sure that the init is killed before deleting the on system state.
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed May 31, 2016
    Configuration menu
    Copy the full SHA
    88dcf1d View commit details
    Browse the repository at this point in the history
  6. Check container status for start call

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed May 31, 2016
    Configuration menu
    Copy the full SHA
    60f5df6 View commit details
    Browse the repository at this point in the history
  7. Fix signal handling for unit tests

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed May 31, 2016
    Configuration menu
    Copy the full SHA
    efcd73f View commit details
    Browse the repository at this point in the history
  8. Update Dockerfile to 1.6.2

    With this change we need a fix in go 1.6 to allow us to receive SIGCONT
    signals.
    
    Ref: golang/go#8953
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed May 31, 2016
    Configuration menu
    Copy the full SHA
    b9bc020 View commit details
    Browse the repository at this point in the history
  9. Fix SystemError and env lookup

    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed May 31, 2016
    Configuration menu
    Copy the full SHA
    6eba9b8 View commit details
    Browse the repository at this point in the history
  10. Add integration tests for create/start

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

Commits on Jun 2, 2016

  1. Allow delete of created container

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