Last active
January 14, 2018 17:14
-
-
Save ipan/89bbeee10a02f438b6a18b918cfe95bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
example dockerfile for longprocess: | |
https://github.com/ipan/dockerfiles/tree/master/longprocess | |
""" | |
import docker | |
client = docker.from_env() | |
lp = client.containers.run("longprocess", "/src/run.sh 5", detach=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment