The first time I ran the compose up I was able to create all the containers but I had a problem with the etc volume for fluentbit. After fixing the mapping issue (changing relative path to absolute) the containers never started again.
They even got stuck till the point I had to kill Rancher Desktop to destroy them.
Have been exported from docker using docker save -o local-image.tar image:tag and imported to containerd using nerdctl load < local-images.tar. So bith the images are local.
Everything is being run from WSL (Ubuntu) on a Windows 11 machine.
Steps to reproduce the issue
Import and pull the images
Change the volume paths to something on your local machine
run the nerdctl compose up command with the yaml provided
Describe the results you received and expected
The expected result is that the 3 containers will start and I will be able to use the fluent bit container to forward the logs from a tailed file to the HTTP and TCP services on the other containers
WARNING: Running in rootless-mode without cgroups. To enable cgroups in rootless-mode, you need to boot the system in cgroup v2 mode.
WARNING: IPv4 forwarding is disabled
Description
I'm trying to create an environment to use fluentbit to forawrd logs to an HTTP and a TCP service.
I have been able to do this in Docker but it seems that there is a bug in containerd so I need to test it.
I have installed Rancher Desktop on windows and I'm using
nerdctl
CLI to create everything from a docker-compose.yml file (The same used with docker).Unfortunately the process is getting stuck on the following step:
The first time I ran the compose up I was able to create all the containers but I had a problem with the
etc
volume for fluentbit. After fixing the mapping issue (changing relative path to absolute) the containers never started again. They even got stuck till the point I had to kill Rancher Desktop to destroy them.Here is the compose yaml:
Both images
Have been exported from docker using
docker save -o local-image.tar image:tag
and imported to containerd usingnerdctl load < local-images.tar
. So bith the images are local.Everything is being run from WSL (Ubuntu) on a Windows 11 machine.
Steps to reproduce the issue
Describe the results you received and expected
The expected result is that the 3 containers will start and I will be able to use the fluent bit container to forward the logs from a tailed file to the HTTP and TCP services on the other containers
What version of nerdctl are you using?
Client: Version: v1.7.7 OS/Arch: linux/amd64 Git commit: 5882c720f4e7f358fb26b759e514b3ae9dd8ea83 buildctl: Version: v0.16.0 GitCommit: 0865fcc9b78559e856e81dc52b3613701e7be28d
Server: containerd: Version: v1.7.22 GitCommit: 7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c runc: Version: 1.1.15 GitCommit: v1.1.15-0-gbc20cb44
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
Client: Namespace: default Debug Mode: false
Server: Server Version: v1.7.22 Storage Driver: overlayfs Logging Driver: json-file Cgroup Driver: none Cgroup Version: 1 Plugins: Log: fluentd journald json-file syslog Storage: native overlayfs Security Options: seccomp Profile: builtin rootless Kernel Version: 5.15.146.1-microsoft-standard-WSL2 Operating System: Ubuntu 22.04.3 LTS OSType: linux Architecture: x86_64 CPUs: 12 Total Memory: 7.419GiB Name: ITMES5CD41761PF ID: c2a10d8e-6202-4740-a0fa-630d4e37d29f
WARNING: Running in rootless-mode without cgroups. To enable cgroups in rootless-mode, you need to boot the system in cgroup v2 mode. WARNING: IPv4 forwarding is disabled