Problem while visualizing Robot in Gazebo: unable to prepare context: path "image/." not found

0

I'm following the Running a sample application with ROS Melodic and Gazebo 9 tutorial and I have made three directories, the first one, called HelloWorldSampleAppROSMelodicGazebo9 that contains only the Dockerfile for the base image, the second one, called HelloWorldSampleAppROSMelodicGazebo9RobotApp, that contains the Dockerfile for the robotic application and the robot-entrypoint.sh and the last one, HelloWorldSampleAppROSMelodicGazebo9SimApp, with the Dockerfile for the simapp and the simulation-entrypoint.sh file.

The point is that, when I run the following command:

$ docker build -t helloworldsampleapprosmelodicgazebo9robotapp:latest image/.

inside the folder for the robot image, I obtain the following error:

unable to prepare context: path "image/." not found

The same happens when I try to build the docker image for the simapp. What is the source of this error?

已提問 2 年前檢視次數 148 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南