存储PLCNext社区LinkedIn上的PLCNEXT.Instagram上的PLCNEXT.  youtube上的plcnext. github plcnext社区存储PLCNext社区

  1. Sreyes.
  2. Container @ Plcnext(Docker,Moby,Balena)
  3. 2020年8月7日星期五

你好,

我们正在尝试使用Balena Engine运行图像,但重新启动后,启动容器有一些错误:

balena-engine run -d --name mycontainer -v certs:/certs:ro --network mynet -p 4430:443 --restart always myapp

balena-engine: Error response from daemon: Conflict. The container name "/mycontainer" is already in use by container "f9ea....cc9e". You have to remove (or rename) that container to be able to reuse that name.

balena engine start mycontainer

Error response from daemon: driver failed programming external connectivity on endpoint mycontainer (0b145....bf79): (iptables failed: iptables --wait -t filter -A DOCKER ! -i br-ced36a917255 -o br-ced36a917255 -p tcp -d 172.17.0.4 --dport 443 -j ACCEPT: iptables: No chain/target/match by the name.

  • 它是具有固件2020.6.1的AXC F 2152。
  • 如果我们访问超级用户,同样的问题。
  • 图像运行一次,我们尝试用/etc/init.d/balena stop重新启动服务,/etc/init.d/balena start和balena-megine start myapp

你知道我们可以做哪些步骤?

问候,

桑坦达

Jan.Mueller@PhoenixContact.de. 接受答案 等待审核
0
Votes
撤消

嗨Samanta,

 

我会看看这个,

 

问候, 

1月

 
Jan.Mueller@PhoenixContact.de. 接受答案 等待审核
0
Votes
撤消

你好,  

 

到第一个错误,命令 balena-engine run is a combination of pull, create and start for the container. Name and ports can only be bind once. If the command has already been executed once, it will not work a second time with the same names and ports.  Since the container is always created with --restart always, a command balena-engine start is not necessary to restart the container. The The error occurs already before.

 

To the second error, iptables: No chain/target/match by the name, means that a kernel module for iptables is missing. Has anything been changed in the system? Either a module is missing from the kernel or a library is missing from the system.

 

你能给我来自集装箱logfile的输出:Balena-Engine日志

 

问候, 

1月

  • 页 :
  • 1


这篇文章没有答复。
但是,您不允许回复此帖。