is it possible to run pyautogui on centos 7 docker container
Figured it out! Built a container that uses xvfb and simulates the x11 session. Just need to set DISPLAY variable and create a session.
I have an automation task that uses pyautogui and python3 to open a pdf and fill it out with predefined fields from JIRA (The pdf is locked down and there is no way to programatically interface with it other than pyautogui.) The script snaps to the top left of a screen where a pdf is opened, clicks in the pdf and then keystrokes are automated from there.
All of this works great on a desktop but now its time to put this on a server where it will run and the best option to deploy looks like Docker. Is what I'm suggesting possible or is there another method that will work like a docker-machine or VM ? This is my first deployment and it's small enough to really mess around with all possible options and do some good learning.