ShuoYangRobotics / A1-QP-MPC-Controller

An open source implementation of MIT Cheetah 3 controllers
GNU Affero General Public License v3.0
581 stars 126 forks source link

PATH_OF_THE_REPO_ON_YOUR_HOST_COMPUTER #19

Open gigijoe opened 1 year ago

gigijoe commented 1 year ago

I really don't know what is PATH_OF_THE_REPO_ON_YOUR_HOST_COMPUTER ? Any example ? I'm running with Ubuntu 20.04

docker run -d --network host --cap-add=IPC_LOCK --cap-add=sys_nice -v /home/gigijoes/dog/A1-QP-MPC-Controller/docker:/root/A1_ctrl_ws/src/A1_Ctrl --device /dev/input --name a1_cpp_ctrl_docker a1_cpp_ctrl_image docker: Error response from daemon: Conflict. The container name "/a1_cpp_ctrl_docker" is already in use by container "044e3ea292d7ecdf173cdc3448b38876b2c68bc177c4ace14aba821b873e77b8". You have to remove (or rename) that container to be able to reuse that name. See 'docker run --help'.

gigijoe commented 1 year ago

I really don't know what is PATH_OF_THE_REPO_ON_YOUR_HOST_COMPUTER ? Any example ? I'm running with Ubuntu 20.04

docker run -d --network host --cap-add=IPC_LOCK --cap-add=sys_nice -v /home/gigijoes/dog/A1-QP-MPC-Controller/docker:/root/A1_ctrl_ws/src/A1_Ctrl --device /dev/input --name a1_cpp_ctrl_docker a1_cpp_ctrl_image docker: Error response from daemon: Conflict. The container name "/a1_cpp_ctrl_docker" is already in use by container "044e3ea292d7ecdf173cdc3448b38876b2c68bc177c4ace14aba821b873e77b8". You have to remove (or rename) that container to be able to reuse that name. See 'docker run --help'.

OK, I found my answer

It's /var/lib/docker/volumes/PATH_OF_THE_REPO_ON_YOUR_HOST_COMPUTER

sanbens1234 commented 1 year ago

hi,I don't understand the path. What should I write in '/var/lib/docker/volumes/PATH_OF_THE_REPO_ON_YOUR_HOST_COMPUTER'? Could u give me a more detailed example? thanks!