I would like to be able to start a container via a basic command line:
docker container start rutorrent-vpn
However, when the nas runs the script, the container does not start and I get an error message :
line 1: docker: command not found
The script is running in Root.
The 1st script is the command: /usr/local/bin/docker container start rutorrent-vpn
The return is :
line 1: /usr/local/bin/docker: No such file or directory
On the other hand, I did inject the /usr/local/bin/docker into the PATH.
Here is the return of the $PATH export:
-sh: export: `/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin’: not a valid identifier
Could you please help me?
docker container start rutorrent-vpn
However, when the nas runs the script, the container does not start and I get an error message :
line 1: docker: command not found
The script is running in Root.
The 1st script is the command: /usr/local/bin/docker container start rutorrent-vpn
The return is :
line 1: /usr/local/bin/docker: No such file or directory
On the other hand, I did inject the /usr/local/bin/docker into the PATH.
Here is the return of the $PATH export:
-sh: export: `/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin’: not a valid identifier
Could you please help me?