English 中文(简体)
Yocto图像显示器 compos堆肥的易腐坏
原标题:Iptables failed in Yocto image running docker compose

After seeing several posts in stackoverflow and some other blogs, I still couldn t get rid of some iptables issue.

我制作了一个<代码>Yocto形象(x86),其内容如下:

require recipes-core/images/core-image-minimal.bb

DESCRIPTION = "My Linux Image."

IMAGE_INSTALL += "
    docker-ce  
    python3-docker-compose 
    python3 
    "

缩略语 www.un.org/spanish/ga/president

I just want to create a simple Linux image with docker compose where I could be able to run the hello-world from docker compose:

https://docs.docker.com/compose/gettingstarted/

我在此受阻:

Error response from daemon: driver failed programming external connectivity on endpoint docker-compose-hello-world-web-1 (149593c5ce28171b7a379f9a5b896e3a541c6ab89fda6):
(iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 9999 -j DNAT --to-destination 172.18.0.3:5000 ! -i br-fc6bc88aac23: 
Warning: Extension DNAT revision 0 not supported, missing kernel module?

我正在从我的<条码>多cker-compose.yml上引申港口<条码>。

What module my kernel is missing? I ve already tried to restart the docker service, reboot, etc, you name it. I ve tried to add these env variables as well:

export DOCKER_BUILDKIT=0
export COMPOSE_DOCKER_CLI_BUILD=0

我的cker客网络就是这样:

root@qemux86-64:~/docker-compose-hello-world# docker network ls
NETWORK ID     NAME                                 DRIVER    SCOPE
e0109904a4f1   bridge                               bridge    local
ee1bf049614b   docker-compose-hello-world_default   bridge    local
1c399dc89e34   host                                 host      local
a3994241998d   none                                 null      local
root@qemux86-64:~/docker-compose-hello-world#

在这里可以缺少哪些掩体模块?

问题回答

I m 采用斜体图像,有同样的错误......





相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签