- 
                Notifications
    You must be signed in to change notification settings 
- Fork 209
add containerd runtime #1248
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
base: master
Are you sure you want to change the base?
add containerd runtime #1248
Conversation
Signed-off-by: tianya <[email protected]>
Signed-off-by: tianya <[email protected]>
Signed-off-by: tianya <[email protected]>
Signed-off-by: tianya <[email protected]>
Co-authored-by: Pravin Pushkar <[email protected]> Signed-off-by: tianya <[email protected]>
Signed-off-by: tianya <[email protected]>
Signed-off-by: tianya <[email protected]>
Signed-off-by: tianya <[email protected]>
1570c87    to
    ed91064      
    Compare
  
    | @tianyax Were you able to verify running  | 
| Codecov Report
 @@            Coverage Diff             @@
##           master    #1248      +/-   ##
==========================================
+ Coverage   27.26%   27.28%   +0.01%     
==========================================
  Files          38       38              
  Lines        3715     3713       -2     
==========================================
  Hits         1013     1013              
+ Misses       2635     2633       -2     
  Partials       67       67              
 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. | 
| 
 @pravinpushkar Okay, I'll update the workflows later. | 
| 
 I meant locally. However, should we try updating the workflow for Mac using  | 
| 
 If possible both. | 
| 
 @pravinpushkar I have already verified it on my mac, including  | 
| @tianyax Thanks for verifying locally. Please resolve the conflicts in the PR . | 
Signed-off-by: tianya <[email protected]>
Signed-off-by: tianya <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also add e2e tests with containerd?
        
          
                README.md
              
                Outdated
          
        
      | #### If you want to use podman as a runtime, then please refer to the installation. | ||
|  | ||
| * Install [Podman](https://podman-desktop.io/docs/Installation) | ||
|  | ||
| #### If you want to use containerd as a runtime, then please refer to the installation. | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be simpler.
Choosing a container runtime
Docker (recommended for new users)
Docker instructions
Podman
Podman instructions
Containerd
Containerd instructions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, thanks very much!
| 
 @shubham1172  | 
| 
 @tianyax, absolutely! | 
Co-authored-by: Shubham Sharma <[email protected]> Signed-off-by: tianya <[email protected]>
Signed-off-by: tianya <[email protected]>
Signed-off-by: tianya <[email protected]>
| @shubham1172 @pravinpushkar According to shubham1172's suggestion I modified  | 
| 
 Hi @tianyax, are you able to run the e2e test locally? | 
| Yeah, better to run the test locally to debug it. Also, any reason why enable it only for macos and not windows and linux ? | 
| 
 @shubham1172 Yes, I have no problem running e2e tests locally, but my  | 
| 
 @pravinpushkar Yes, I will be debug it locally. About  | 
| 
 Basically we recently added  | 
| 
 @shubham1172 @pravinpushkar The problem is that the  func RunCmdAndWait(name string, args ...string) (string, error) {
    cmd := exec.Command(name, args...)
    stdout, err := cmd.StdoutPipe()
    if err != nil {
        return "", err
    }
    stderr, err := cmd.StderrPipe()
    if err != nil {
        return "", err
    }
    err = cmd.Start()
    if err != nil {
        return "", err
    }
    resp, err := io.ReadAll(stdout)  // Blocking here!
    if err != nil {
        return "", err
    }
    errB, err := io.ReadAll(stderr)
    if err != nil {
        //nolint
        return "", nil
    }
    err = cmd.Wait()
    ...Command cannot get a response from  RunCmdAndWait("nerdctl", "run", "--name", "dapr_redis", "-d", "redis:6")But why no data is written to the standard output I do not know yet.. 😅 If the image already exists there is no problem. | 
| 
 Is it because the output is not going to stdout? I see a related issue here containerd/nerdctl#1685 | 
| @tianyax did you get a chance to have a look at the issue? | 
| 
 @shubham1172 I think this problem is caused by  | 
Signed-off-by: tianya <[email protected]>
| @tianyax I am seeing that this PR has been moved to draft ... | 
| 
 @mukundansundar There is a new problem here, using  | 
| This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! | 
| @tianyax Do you have any updates on this PR? | 
| 
 @mukundansundar Waiting for containerd/containerd#8550 | 


Description
For #1232
add containerd runtime support.
Issue reference
Please reference the issue this PR will close: #1232
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: