Docker Community Forums

Share and learn in the Docker community.

Unable to run docker commands after pulling the Ubuntu image

I have installed docker engine on Ubuntu and then pulled the docker Ubuntu image successfully. I see a container is created and I have entered into the root session (root@b0ebfa7bddd0) but when i execute following command (docker commit -a “murali” -m “apache” b0ebfa7bddd0 apachesnapshot), the outptut says : “bash: docker: command not found”.

Could someone please help? I have even tried with sudo but it says sudo not found

root@b0ebfa7bddd0:/# docker commit -a “murali” -m “apache” b0ebfa7bddd0 apachesnapshot
bash: docker: command not found