Reorienting T1 Image Interactively for Sub_001: OK
Reorienting Functional Images Interactively for Sub_001: 
Reorienting Functional Images Interactively for Sub_001: OK
Warning: Directory already exists. 
> In DPARSFA_run (line 1208)
  In DPARSFA>pushbuttonRun_Callback (line 1795)
  In gui_mainfcn (line 95)
  In DPARSFA (line 30) 
Apply Reorient Mats to functional images for Sub_001: OK
Bet begin...
/bin/bash: docker: command not found
/bin/bash: docker: command not found
Bet finished
Copying T1 image Files:Sub_001 OK
Error using DPARSFA_run (line 1620)
Index exceeds array bounds.
Error in DPARSFA>pushbuttonRun_Callback (line 1795)
Error in gui_mainfcn (line 95)
Error in DPARSFA (line 30)
    gui_mainfcn(gui_State, varargin{:});

Tips for Linux or Mac OS: please start matlab from terminal in order to reach docker in DPABI (e.g., Linux: matlab; Mac: open /Applications/MATLAB_R2018a.app/).

I did start matlab from terminal but nothing changed and I still got the smae errors. Besides, I want to know how to install the docker file correctly? I installed the Docker, and I also  installed the Dpabi42docker file you released, but I don't know how to use them. I am totally new to dpabi and I have been frustrated with this error.  Is there any instruction for the install? I really need help.

Best wishes.

If you started matlab from terminal, and still have

/bin/bash: docker: command not found

That means the docker command is missing -- you haven't installed docker correctly. Please go over http://rfmri.org/Course for installation instructions.