deepsense.ai - pycontain

Documentation for ds_pycontain python package to work with docker containers and images, as well as providing python REPL running in a container.

This package makes it a bit easier to:

  • Build docker images from Dockerfiles or in-memory string.

  • Pull docker images from dockerhub (or similar).

  • Run docker container to execute a one-off command.

  • Run docker container to execute a long-running process and communicate with it.

  • Run python code in a docker container and communicate with it.

Indices and tables