used to generate custom containers
docker run -it --name my_ubuntu_container ubuntu:latest
apt-get update apt-get install -y <package_name>
(say) We need an ubuntu OS with python3, pip3, ansible with other basic requirements, then apt-get update apt-get install -y apt-utils apt install python3 python3-pip ansible systemd systemd-sysv dialog
echo "[boot]" | sudo tee -a /etc/wsl.conf echo "systemd=true" | sudo tee -a /etc/wsl.conf
exit
docker commit <exited_conatiner_id> <new_image_name>
docker images | grep "<new_image_name>"
For more refer: https://www.notion.so/Harry-s-Docker-Documentation-d252b1bba2ab42e084fcb7b2f970cf2b