LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Containers
User Name
Password
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.

Notices


Reply
  Search this Thread
Old 05-11-2023, 03:24 AM   #1
MakeTopSite
Member
 
Registered: Jan 2021
Location: EU
Distribution: Ubuntu, openSUSE Leap & TW, Devuan, Debian
Posts: 252

Rep: Reputation: 3
ERROR: Cannot start service webserver: driver failed programming external connectivity on endpoint ...


Web application running on nginx in docker container has suddenly stopped to work in Leap 15.4.

Code:
# docker-compose build && docker-compose up -d && docker exec -it myProject-php-fpm /bin/bash
mysql uses an image, skipping
webserver uses an image, skipping
Building php-fpm
...
...
Successfully built aaaaaaaaaaaa
Successfully tagged docker_php-fpm:latest
Starting myProject-mysql ... 
Starting myProject-php-fpm ... 
Starting myProject-webserver ... 
WARNING: Host is already in use by another container

ERROR: for myProject-webserver  Cannot start service webserver: driver failed programming external connectivity on endpoint myProject-webserver (bbbbbbbbbbbbbbbbbbb): Starting myProject-mysql     ... error
8.0.3:80 ! -i br-xxxxxxxxxxx: iptables: No chain/target/match by that name.
 (exit status 1))

ERROR: for myProject-mysql  Cannot start service mysql: driver failed programming external connectivity on endpoint myProject-mysql (ccccccccccccccccccccc):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8082 -j DNAT --to-destination 172.18.0.2:3306 !Starting myProject-php-fpm   ... done
 (exit status 1))

ERROR: for webserver  Cannot start service webserver: driver failed programming external connectivity on endpoint myProject-webserver (bbbbbbbbbbbbbbbbbbb):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8080 -j DNAT --to-destination 172.18.0.3:80 ! -i br-xxxxxxxxxxx: iptables: No chain/target/match by that name.
 (exit status 1))

ERROR: for mysql  Cannot start service mysql: driver failed programming external connectivity on endpoint myProject-mysql (ccccccccccccccccccccc):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8082 -j DNAT --to-destination 172.18.0.2:3306 ! -i br-xxxxxxxxxxx: iptables: No chain/target/match by that name.
 (exit status 1))
ERROR: Encountered errors while bringing up the project.
Code:
# docker stop myProject-php-fpm myProject-mysql myProject-webserver
did not help.

No related problem in
Code:
journalctl -r  --priority=err
found.


Any idea please ?
 
Old 05-17-2023, 01:43 AM   #2
MakeTopSite
Member
 
Registered: Jan 2021
Location: EU
Distribution: Ubuntu, openSUSE Leap & TW, Devuan, Debian
Posts: 252

Original Poster
Rep: Reputation: 3
It's working now, I don't know what has caused that.
 
Old 05-17-2023, 09:58 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,662
Blog Entries: 4

Rep: Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942Reputation: 3942
Likely: "Host is being used by another container."
 
Old 05-18-2023, 04:18 AM   #4
MakeTopSite
Member
 
Registered: Jan 2021
Location: EU
Distribution: Ubuntu, openSUSE Leap & TW, Devuan, Debian
Posts: 252

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by sundialsvcs View Post
Likely: "Host is being used by another container."
Yes I've had noticed it. There were no containers in the output of
Code:
docker ps
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
jenkins service can't start with message: Job for jenkins.service failed because the control process exited with error jolintan Linux - General 4 02-16-2022 08:48 AM
Manually removing an endpoint from a kubernetes service depam Linux - Software 0 12-23-2016 05:54 PM
Problem with external USB 3.0 drive - xhci_hcd WARN: transfer error on endpoint m1m Slackware 3 03-25-2013 02:52 PM
set feature halt endpoint fails always USB linux driver usb gadget serial dot c sarmads1 Linux - Kernel 0 08-14-2012 10:06 PM
getpeername failed. Error was Transport endpoint is not connected humbletech99 Linux - Networking 0 06-06-2006 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 08:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration