# Command not found

**URL:** <https://community.blockcerts.org/t/command-not-found/1071>\
**Category:** Support\
**Created:** [May 28, 2018, 4:04am UTC](https://community.blockcerts.org/t/command-not-found/1071 "2018-05-28T04:04:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![clara](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@clara](https://community.blockcerts.org/u/clara)\
**Post date:** [May 28, 2018, 4:04am UTC](https://community.blockcerts.org/t/command-not-found/1071/1 "2018-05-28T04:04:46Z")

</div>

Can anyone help me to clarify why in bash, when I try to execute the command such as docker cp or docker ps, it always gives “docker command not found” output ?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Julian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.blockcerts.org/julian/32/446_2.png) [@Julian](https://community.blockcerts.org/u/Julian)\
**Post date:** [May 28, 2018, 12:46pm UTC](https://community.blockcerts.org/t/command-not-found/1071/2 "2018-05-28T12:46:36Z")

</div>

> [@clara](#):
>
> Can anyone help me to clarify why in bash, when I try to execute the command such as docker cp or docker ps, it always gives “docker command not found” output ?

Happened to me, when you excecute the virtual machine from Docker your bash console automatically changes to that virtual PC. Open another bash terminal and execute that comand and it will be just fine 🙂  
If you want to copy something to the virtual machine make sure you have your Id with docker ps.  
Regards  
Julian
