---
title: "Comment by Aniket Nagle on \"Setting Up CI/CD Pipeline with AWS CodeBuild and CodeDeploy for a Node.js Application\" | Hashnode"
description: "Step 2.7 The Install Docker usermod command is incorrect; I'm getting an error. So tried below sudo usermod -aG docker $USER &amp;&amp; newgrp docker"
url: "https://hashnode.com/posts/setting-up-cicd-pipeline-with-aws-codepipeline-for-a-nodejs-application/678e017f7c03a757da6a05a8/comment/67bd8d094de2357cbbb74502"
---

[Discussion](https://hashnode.com/posts/setting-up-cicd-pipeline-with-aws-codepipeline-for-a-nodejs-application/678e017f7c03a757da6a05a8)

Comment [Setting Up CI/CD Pipeline with AWS CodeBuild and CodeDeploy for a Node.js Application](https://hashnode.com/posts/setting-up-cicd-pipeline-with-aws-codepipeline-for-a-nodejs-application/678e017f7c03a757da6a05a8)

[Aniket Nagle](https://hashnode.com/@nagleaniket)

[Feb 25, 2025](https://hashnode.com/posts/setting-up-cicd-pipeline-with-aws-codepipeline-for-a-nodejs-application/678e017f7c03a757da6a05a8/comment/67bd8d094de2357cbbb74502)

Step 2.7 The Install Docker usermod command is incorrect; I'm getting an error. So tried below

sudo usermod -aG docker $USER && newgrp docker
