I have added a user using below command
useradd -ms /bin/bash docker && adduser docker sudo
then executed below statement,