Home Docker Docker: sh: 1: source: not found Docker: sh: 1: source: not found Yubao June 10, 2020 0 comments Share: Facebook Twitter Pinterest Whatsapp ## Error ```sh sh: 1: source: not found ``` ## Solution Add "bash -c" to the Dockerfile. ```docker RUN bash -c "source /opt/ros/kinetic/setup.bash" ``` ![yubao_blog_cover](https://raw.githubusercontent.com/yubaoliu/assets/image/yubao_blog_cover.png)
No comments