I am uncertain where to post this so I am posting it here. If I should post it elsewhere, please let me know.
I think I found a bug in Almalinux 9.1, involving network access for containers.
I am running docker on a machine running Almalinux 9.1, and I am running a container that is required to use the Host network. When I attempt to access this application (urbackup) through its web interface, I keep getting “connection refused” errors.
Doing a netstat on my Almalinux host, I am seeing that for some reason the ports that the docker container should be listening on are not visible. In fact, when I do a netstat looking for those ports, I get the following:
$ sudo netstat -anp | grep LISTEN | grep urbackup
$
this indicates to me that the host is not seeing the ports exposed by the container.
It should be noted that I have other dockerized applications running without problems. None of these other applications run in host mode.
I did try putting this application on one of my other Almaliux machines using docker. I get the same behavior.
I also deliberately went to dockerhub and found another container that requires host mode. ran it on docker and it did not run properly. It failed due to network connection problems. Host mode apparently does not work on Almaliux.
The urbackup docker container works without problems on Ubuntu and other Linux operating systems.
I also run LXD on one of my machines. I created an Ubuntu container using lxc, went into its shell, and attempted to do a standard update. I got the following:
~# sudo apt update
Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
In fact, all attempts to perform network operations on my LXD container fail. The same operations do not fail if the LXD container is created on an Ubuntu host.
Almalinux apparently is failing to support certain network drivers that other Linux distros do. Is this a bug in Almalinux? Or is there some network configuration change that I need to do in order to make these things work?
Someome please advise.