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회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠