Fedora:44 docker image with Python3. Can be used in Ansible Molecule testing.
153
Fedora:44 docker image with Python3. Can be used in Ansible Molecule testing.
Clone the Git Repository or Download the ZIP package and expand. CD into the folder. Then follow these steps to build docker container instance.
Build Docker Image:
podman build -t hammadrauf/fedora44 .
OR Pull from Docker Hub, Quay.io .
Run Docker Conatiner:
podman run -d --systemd=true --name fedora44 --hostname fedora44 -ti hammadrauf/fedora44:latest
podman run -d --name fedora44 --hostname fedora44 -it hammadrauf/fedora44:latest
OR
docker run -d --privileged --name fedora44 --hostname fedora44 -ti hammadrauf/fedora44:latest
Connect to BASH Shell in the Container:
podman exec -it fedora44 /bin/bash
Check open ports
Linux:
netstat -tulpn
Windows:
netstat -na
netstat -ao
netstat -na | find "4505"
netstat -ao | find "4505"
Show Process ID in Windows (Running under podman machine - wsl):
C:\Users\uname>netstat -noa | find "4506"
TCP 127.0.0.1:4506 0.0.0.0:0 LISTENING 11816
C:\Users\uname>netstat -noa | find "8000"
TCP 127.0.0.1:8000 0.0.0.0:0 LISTENING 11816
C:\Users\uname>netstat -noa | find "4505"
TCP 127.0.0.1:4505 0.0.0.0:0 LISTENING 11816
To Show Process Name in Windows:
C:\Users\uname>tasklist /fi "pid eq 11816"
Image Name PID Session Name Session# Mem Usage
========================= ======== ================ =========== ============
wslhost.exe 11816 Console 1 7,948 K
On Windows 10/11 Port 4505, 4506 may be occupied by "IP Helper" Service in Windows 11. Disable the service (Or reconfigure Salt Master to use different ports).
Content type
Image
Digest
sha256:521718461…
Size
187.2 MB
Last updated
19 days ago
docker pull hammadrauf/fedora44