parent
feb45a984a
commit
a9bed5e631
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ while True:
|
||||||
try:
|
try:
|
||||||
print("Running container")
|
print("Running container")
|
||||||
if cntr == None:
|
if cntr == None:
|
||||||
cntr = dock.containers.run('alpine/edge', "/bin/ash", detach=True, tty=True)
|
cntr = dock.containers.run('alpine:edge', "/bin/ash", detach=True, tty=True)
|
||||||
print("Executing...")
|
print("Executing...")
|
||||||
_, stream = cntr.exec_run(cmd=" ".join(command[1:]))
|
_, stream = cntr.exec_run(cmd=" ".join(command[1:]))
|
||||||
multiline(stream, channel)
|
multiline(stream, channel)
|
||||||
|
|
Loading…
Add table
Reference in a new issue