You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "WordlessEcho (via GitHub)" <gi...@apache.org> on 2023/07/30 06:57:34 UTC
[GitHub] [apisix-docker] WordlessEcho commented on issue #373: restart docker error:[emerg] 1#1: bind() to unix:/usr/local/apisix/conf/config_listen.sock failed (98: Address already in use)
WordlessEcho commented on issue #373:
URL: https://github.com/apache/apisix-docker/issues/373#issuecomment-1657061174
> > 在容器启动期间执行此操作
> > ```shell
> > docker exec -i <container_name> rm /usr/local/apisix/conf/config_listen.sock
> > ```
>
> 在docker compose中该如何执行,这个情况应当避免手动操作,另一个办法是写一个systemd service去执行删除操作或者直接docker compose down然后docker compose up -d,但我认为这个并不是最好的解决办法
Compose部署出来的和普通的没什么区别的,搞清楚容器名就能执行
这个确实只是个workaround
--
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