Oops - looks like when I tested it with Docker last time I used docker-compose, which is building a Docker network. It doesn’t work with Docker either with just the docker run commands. All that’s in the .env is the passwords that get set in the containers.
[znmeb@Silverblue containers]$ docker --version
Docker version 1.13.1, build 55f9e52-unsupported
[znmeb@Silverblue containers]$ podman --version
podman version 1.0.0
[znmeb@Silverblue containers]$
If the container networking libraries are the same in Silverblue as they are in the Fedora toolbox:
🔹[znmeb@toolbox containers]$ dnf info containernetworking-plugins
Available Packages
Name : containernetworking-plugins
Version : 0.7.3
Release : 2.fc29
Arch : x86_64
Size : 14 M
Source : containernetworking-plugins-0.7.3-2.fc29.src.rpm
Repo : updates-testing
Summary : Libraries for writing CNI plugin
URL : https://github.com/containernetworking/plugins
License : ASL 2.0
Description : The CNI (Container Network Interface) project consists of a specification
: and libraries for writing plugins to configure network interfaces in Linux
: containers, along with a number of supported plugins. CNI concerns itself
: only with network connectivity of containers and removing allocated resources
: when the container is deleted.
Name : containernetworking-plugins
Version : 0.7.3
Release : 2.fc29
Arch : x86_64
Size : 14 M
Source : containernetworking-plugins-0.7.3-2.fc29.src.rpm
Repo : fedora
Summary : Libraries for writing CNI plugin
URL : https://github.com/containernetworking/plugins
License : ASL 2.0
Description : The CNI (Container Network Interface) project consists of a specification
: and libraries for writing plugins to configure network interfaces in Linux
: containers, along with a number of supported plugins. CNI concerns itself
: only with network connectivity of containers and removing allocated resources
: when the container is deleted.
🔹[znmeb@toolbox containers]$ dnf info containernetworking-cni
Available Packages
Name : containernetworking-cni
Version : 0.7.1
Release : 1.fc29
Arch : x86_64
Size : 13 M
Source : containernetworking-cni-0.7.1-1.fc29.src.rpm
Repo : fedora
Summary : Libraries for writing CNI plugin
URL : https://github.com/containernetworking/plugins
License : ASL 2.0
Description : The CNI (Container Network Interface) project consists of a specification
: and libraries for writing plugins to configure network interfaces in Linux
: containers, along with a number of supported plugins. CNI concerns itself
: only with network connectivity of containers and removing allocated resources
: when the container is deleted.
🔹[znmeb@toolbox containers]$
I’m assuming I can add a docker network command to the Docker version and get this to work, but I couldn’t find a podman network command anywhere. I’m assuming this infrastructure is somewhere in Kubernetes, however. If that’s what I need to get a LAN inside a pod then I’ll go that way.