Administrator-Xorex opened a new issue, #25098:
URL: https://github.com/apache/shardingsphere/issues/25098

   ## Bug Report
   
   ShardingSphere-Proxy: docker.io/apache/shardingsphere-proxy:latest
   Docker version 1.13.1, build 7d71120/1.13.1
   
   Run docker command:
   ```
   docker run -id \
   -v 
/home/user/shardingsphere-proxy/proxy-latest/conf:/opt/shardingsphere-proxy/conf
 \
   -v 
/home/user/shardingsphere-proxy/proxy-latest/ext-lib:/opt/shardingsphere-proxy/ext-lib
 \
   -v 
/home/user/shardingsphere-proxy/proxy-latest/logs:/opt/shardingsphere-proxy/logs
 \
   -p 3307:3307 \
   --name proxy-latest \
   apache/shardingsphere-proxy:latest
   ```
   
   container exited.
   
   <img width="1335" alt="image" 
src="https://user-images.githubusercontent.com/26794746/231079988-2536da72-70f1-48d7-bcf7-995111be6d42.png";>
   
   Then, I enter this container, try to start shardingsphere-proxy by run 
`/bin/start.sh` and get an Error:
   
   `bin/start.sh: line 228: exec: -D: invalid option`
   
   This is the shell code at 227-230:
   
   ```shell
   if [ -n "${IS_DOCKER}" ]; then
     exec $JAVA ${JAVA_OPTS} ${JAVA_MEM_OPTS} -classpath ${CLASS_PATH} 
${MAIN_CLASS}
     exit 0
   fi
   ```
   ---
   I can run successfully shardingsphere-proxy container by other images 
version with the same docker command, include 5.3.1 and earlier.
   
   


-- 
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