Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications.
An Ubuntu-based docker component with a wide number of Tcl packages ready for use is available here . To run it, make sure you have docker and run the following (perhaps with sudo, depending on your installation and OS):
docker run --rm -it efrecon/tcl tclsh8.6
This should give you an interactive Tcl prompt with tclreadline enabled.
Docker also has an API, for an implementation check docker-client