I want to write container management Docker script in Python. However, since I use CoreOS, Python is not part of the standard command. So, I am going to use the Pockon Docker container ( https://registry.hub.docker.com/_/python/ ) to execute my script. However, in this case, the script will be executed in the VM container, which does not have access to the Docker CLI host.
Is there a way to use Python (or other programming languages not packaged in CoreOS) to control the host environment without installing it on the host machine?
PS, the script will do something like:
docker run/rm/stop <another container>;
source
share