2018-05-01 22:37:36 +00:00
|
|
|
import subprocess
|
|
|
|
|
|
|
|
def dockerrun():
|
2018-05-02 02:10:19 +00:00
|
|
|
args = [
|
|
|
|
'docker', 'run',
|
|
|
|
'--rm',
|
|
|
|
'--interactive',
|
|
|
|
'--tty',
|
|
|
|
'colove:latest']
|
|
|
|
subprocess.run(args)
|
2018-05-01 22:37:36 +00:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
dockerrun()
|