songyuequan removed a comment on issue #2338:
URL: 
https://github.com/apache/incubator-shenyu/issues/2338#issuecomment-968093822


   > ## Solved Problems
   > 1. The stop.sh script can't work in container
   > 2. "ps: unrecognized option: p". This problem was discovered when solving 
the first problem.
   > 
   > * This problem is due to openjdk-8-jre-alpine ps is from busybox and it is 
not included -p switch for ps, so we need to add `RUN apk --no-cache add 
procps` in Dockerfile.
   > * error info:
   >   
![image](https://user-images.githubusercontent.com/31627887/141604312-125caa56-6993-4bcc-b42a-19b070912392.png)
   > 
   > ## Test Result
   > ### Docker Container
   > **Shenyu Admin** <img alt="image-20211113100750658" width="1375" 
src="https://user-images.githubusercontent.com/31627887/141604204-7f973c87-742a-40c2-abf8-72bd4ac10aec.png";>
   > 
   > **Shenyu Bootstrap** 
![image-20211113101128530](https://user-images.githubusercontent.com/31627887/141604193-7e0b4d0c-9510-4bcb-82ea-4eeac95926fa.png)
   > 
   > ### Linux Server
   > **Shenyu Admin** 
![image](https://user-images.githubusercontent.com/31627887/141604568-409a2d69-6dc6-4f22-af43-98e956d0cf32.png)
   > 
   > **Shenyu Bootstrap** 
![image](https://user-images.githubusercontent.com/31627887/141604640-d0aec7d2-49d9-403c-a5b0-55ce7c06e595.png)
   
   I  just  test  the  new  script .  It work both in the host ( Linux and MAC) 
and  container 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to