You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/11/11 08:25:00 UTC

[GitHub] [apisix] lishaoshu1240 opened a new issue #5484: docker install api-gateway faild.

lishaoshu1240 opened a new issue #5484:
URL: https://github.com/apache/apisix/issues/5484


   ### Issue description
   
   hi, 
        i install api-ageway though the installation (link: https://apisix.apache.org/zh/docs/docker/manual)。
   but i met some error, when i install  by the commend:
   
   [root@localhost data]# docker run --name test-api-gateway \
   >  -v `pwd`/example/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml \
   >  -v `pwd`/example/apisix_log:/usr/local/apisix/logs  \
   >  -p 9080:9080 \
   >  -p 9091:9091  \
   >  -p 9443:9443 \
   >  --network apisix \
   >  --ip 172.18.5.11 \
   >  -d apache/apisix
   
   **here is error:**
   
   /usr/bin/docker-current: Error response from daemon: oci runtime error: container_linux.go:235: starting container process caused "container init exited prematurely".
   [root@localhost data]#
   
   
   ### Environment
   
   [root@localhost data]# uname -a
   Linux localhost.localdomain 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
   
   
   
   ### Steps to reproduce
   
   docker run --name test-api-gateway \
   >  -v `pwd`/example/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml \
   >  -v `pwd`/example/apisix_log:/usr/local/apisix/logs  \
   >  -p 9080:9080 \
   >  -p 9091:9091  \
   >  -p 9443:9443 \
   >  --network apisix \
   >  --ip 172.18.5.11 \
   >  -d apache/apisix
   
   ### Actual result
   
   a95b5fde7e41ea0e18319c6ebbb2f43fa6134bce28a8720c4f4b082007b7be38
   /usr/bin/docker-current: Error response from daemon: oci runtime error: container_linux.go:235: starting container process caused "container init exited prematurely".
   [root@localhost data]#
   
   ### Error log
   
   a95b5fde7e41ea0e18319c6ebbb2f43fa6134bce28a8720c4f4b082007b7be38
   /usr/bin/docker-current: Error response from daemon: oci runtime error: container_linux.go:235: starting container process caused "container init exited prematurely".
   [root@localhost data]#
   
   ### Expected result
   
   _No response_


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] lishaoshu1240 closed issue #5484: docker install api-gateway faild.

Posted by GitBox <gi...@apache.org>.
lishaoshu1240 closed issue #5484:
URL: https://github.com/apache/apisix/issues/5484


   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tokers commented on issue #5484: docker install api-gateway faild.

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #5484:
URL: https://github.com/apache/apisix/issues/5484#issuecomment-966171799


   The error was mostly caused by the mount file or directory doesn't exist, make sure the `pwd/example/apisix_conf/config.yaml` and `pwd/example/apisix_log` existing.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] lishaoshu1240 commented on issue #5484: docker install api-gateway faild.

Posted by GitBox <gi...@apache.org>.
lishaoshu1240 commented on issue #5484:
URL: https://github.com/apache/apisix/issues/5484#issuecomment-966240307


   @tokers  I have checke the directory exist.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org